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-07-26 20:29:46 (GMT)
committer Nat <natcl@hotmail.com>2007-07-26 20:29:46 (GMT)
commit64657a1f13e9b426562fb4819503e9a65a7401d5 (patch)
tree52f562b3eefc22407771c1a30af571e2d00ea3a3 /TamTam.py
parentb77b499feeec54be04f85cd4e31f069de0ba0573 (diff)
Toolbar in edit (non functional)
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/TamTam.py b/TamTam.py
index 4984b42..d751677 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -109,6 +109,7 @@ class TamTam(Activity):
def doNothing(): #a callback function to appease SynthLab
pass
+
def set_mode(self, mode, arg = None):
if Config.DEBUG: print 'DEBUG: TamTam::set_mode from', self.mode, 'to', mode
@@ -151,10 +152,10 @@ class TamTam(Activity):
self.mode = mode
if mode == 'edit':
- self.toolbox.hide()
+ #self.toolbox.hide()
if not (mode in self.modeList):
self.metadata['title'] = 'TamTam Edit'
- self.modeList[mode] = MainWindow(self.set_mode)
+ self.modeList[mode] = MainWindow(self, self.set_mode)
if self.instrumentPanel in self.preloadList:
self.instrumentPanel.load() # finish loading
self.modeList[mode].setInstrumentPanel( self.instrumentPanel )