diff options
author | amartin <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) |
commit | 54f5330f28b7eaef00e84a15ce11532add5488e4 (patch) | |
tree | 1da1628409a701f3d4f0a063388468ea6c784d55 /TamTam.py | |
parent | ccb46f528e1e6719d93f136c000d2f6927e0c724 (diff) | |
parent | 063d42edf15315145e17533bf1f72d5884d439f3 (diff) |
Merge branch 'master' of git+ssh://amartin@dev.laptop.org/git/projects/tamtam
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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__": |