Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-00-CE-12.localdomain>2007-06-25 21:51:45 (GMT)
committer amartin <olpc@xo-00-CE-12.localdomain>2007-06-25 21:51:45 (GMT)
commit54f5330f28b7eaef00e84a15ce11532add5488e4 (patch)
tree1da1628409a701f3d4f0a063388468ea6c784d55 /TamTam.py
parentccb46f528e1e6719d93f136c000d2f6927e0c724 (diff)
parent063d42edf15315145e17533bf1f72d5884d439f3 (diff)
Merge branch 'master' of git+ssh://amartin@dev.laptop.org/git/projects/tamtam
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 f1c7b3d..1d29054 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -207,6 +207,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__":