- Fixed bug when bp is set on same addr
[pygdb.git] / MainControlWindow.py
index 0a24f4cfc9efa2894f157a75342caf880c935a1a..13d32eed6667f784c079b5a6ff89bae6d5e2187d 100644 (file)
@@ -16,14 +16,14 @@ import ClientIOTerminal
 
 class MainControlWindow (gtk.Window):
 
-       #Callbacks for new positions
-       newPosCbs = []
-
        def __init__(self, dbgterm):
 
                #Set up GTK stuff
                gtk.Window.__init__(self)
-               self.connect("destroy", lambda *w: gtk.main_quit())
+               self.connect("destroy", lambda *w: gtk.main_quit() )
+
+               #Callbacks for new positions
+               self.newPosCbs = []
 
                #Set terminals
                self.dbgterm = dbgterm