Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorolipet <olpc@localhost.localdomain>2007-01-13 01:49:07 (GMT)
committer olipet <olpc@localhost.localdomain>2007-01-13 01:49:07 (GMT)
commit2f10c87e4b217669e28800ec4d32e78cc88d74c1 (patch)
treeefa391b4fc64aa32ea2bc38a654b80119786099e /TamTam.py
parent8ea346febc5793fba4ab17d83f39158aa0b548c3 (diff)
SynthLab window bug after focusOut fixed
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/TamTam.py b/TamTam.py
index ff0b803..5a31cbe 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -110,19 +110,11 @@ class TamTam(Activity):
def handleFocusOut(self, event, data=None):
if self.tamtam.synthLabWindowOpen():
return
-# if self.tamtam.synthLabOpen[0]:
-# num = self.tamtam.synthLabOpen[1]
-# if num == 1:
-# self.tamtam.synthLabWindow1.hide()
-# elif num == 2:
-# self.tamtam.synthLabWindow2.hide()
-# elif num == 3:
-# self.tamtam.synthLabWindow3.hide()
-# elif num == 4:
-# self.tamtam.synthLabWindow4.hide()
csnd.initialize(False)
def do_quit(self, arg2):
+ home_path = env.get_profile_path() + Config.PREF_DIR
+ os.system('rm ' + home_path + '/synthTemp*')
csnd.initialize(False)
del self.tamtam