diff options
author | Nat <natcl@hotmail.com> | 2007-08-09 20:45:36 (GMT) |
---|---|---|
committer | Nat <natcl@hotmail.com> | 2007-08-09 20:45:36 (GMT) |
commit | cba135494bde3e89be49a879cc5c855297e3a35a (patch) | |
tree | 9978149877967b649b6691c41b4c7a2aa255b2f2 /Edit/MainWindow.py | |
parent | 8272766572c9a39826537bf9f81da3c233520d4b (diff) |
Edit Toolbars: Transport, duplicate
Diffstat (limited to 'Edit/MainWindow.py')
-rw-r--r-- | Edit/MainWindow.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Edit/MainWindow.py b/Edit/MainWindow.py index 3b6f408..57f852c 100644 --- a/Edit/MainWindow.py +++ b/Edit/MainWindow.py @@ -1093,6 +1093,9 @@ class MainWindow( SubActivity ): def handleToolClick( self, widget, mode ): if widget.get_active(): self.trackInterface.setInterfaceMode( mode ) + + def handleToolClick2( self, widget, mode ): + self.trackInterface.setInterfaceMode( mode ) def getTool( self ): if self.GUI["2toolPointerButton"].get_active(): return "default" @@ -2057,6 +2060,9 @@ class MainWindow( SubActivity ): if self.context == CONTEXT.PAGE: self.GUI["2pageBox"].show() elif self.context == CONTEXT.TRACK: self.GUI["2trackBox"].show() else: self.GUI["2noteBox"].show() + + def getContext(self): + return self.context def prevContext( self ): if self.context == CONTEXT.TRACK: |