Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-06-25 21:48:18 (GMT)
committer Nat <natcl@hotmail.com>2007-06-25 21:48:18 (GMT)
commit063d42edf15315145e17533bf1f72d5884d439f3 (patch)
treea63eebe52b2bc70153251e3c605c8760ff121f18 /TamTam.py
parent2d04fa9dbbab25de9e7c059999b9904ecad93eb0 (diff)
Tentative load/save in Journal
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/TamTam.py b/TamTam.py
index 0e718e1..d2a8761 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -206,6 +206,13 @@ class TamTam(Activity):
for snd in ['mic1','mic2','mic3','mic4','lab1','lab2','lab3','lab4', 'lab5', 'lab6']:
shutil.copyfile(Config.SOUNDS_DIR + '/' + snd , Config.PREF_DIR + '/' + snd)
os.system('chmod 0777 ' + Config.PREF_DIR + '/' + snd + ' &')
+
+ def read_file(self,file_path):
+ if self.modeList['edit']:
+ self.modeList['edit'].handleJournalLoad(file_path)
+ def write_file(self,file_path):
+ if self.modeList['edit']:
+ self.modeList['edit'].handleJournalSave(file_path)
if __name__ == "__main__":