Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/SynthLab
diff options
context:
space:
mode:
authorolipet <olpc@localhost.localdomain>2007-01-12 12:42:55 (GMT)
committer olipet <olpc@localhost.localdomain>2007-01-12 12:42:55 (GMT)
commit68b6e5a0992cd13d4361b6dbf4fc157e72ea7bd2 (patch)
tree52c8041436663b47e681a0cbaef5106c4b24dd5e /SynthLab
parentdbd41f60488729701663b2b8cc985b3ba092efc4 (diff)
sequencer, here's come again...
Diffstat (limited to 'SynthLab')
-rw-r--r--SynthLab/SynthLabWindow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/SynthLab/SynthLabWindow.py b/SynthLab/SynthLabWindow.py
index 14aedd0..9efa1cb 100644
--- a/SynthLab/SynthLabWindow.py
+++ b/SynthLab/SynthLabWindow.py
@@ -15,13 +15,14 @@ from SynthLab.SynthLabConstants import SynthLabConstants
Tooltips = Config.Tooltips
class SynthLabWindow( gtk.Window ):
- def __init__( self, client, table ):
+ def __init__( self, client, table, closeCallback ):
gtk.Window.__init__( self, gtk.WINDOW_TOPLEVEL )
color = gtk.gdk.color_parse(Config.PANEL_BCK_COLOR)
self.modify_bg(gtk.STATE_NORMAL, color)
self.set_border_width(Config.MAIN_WINDOW_PADDING)
self.csnd = client
self.table = table
+ self.closeCallback = closeCallback
self.set_decorated(False)
self.synthObjectsParameters = SynthObjectsParameters()
self.locations = SynthLabConstants.INIT_LOCATIONS[:]
@@ -169,6 +170,7 @@ class SynthLabWindow( gtk.Window ):
def handleClose( self, widget, data ):
if self.instanceOpen:
self.synthLabParametersWindow.destroy()
+ self.closeCallback()
self.hide()
def handleReset( self, widget, data ):