projects
/
pygdb.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixing bug, when getting text from terminal: started at line -1
[pygdb.git]
/
MainControlWindow.py
diff --git
a/MainControlWindow.py
b/MainControlWindow.py
index 13d32eed6667f784c079b5a6ff89bae6d5e2187d..5ea0fb8f4cb38e7f77081a52159d614fff2ace32 100644
(file)
--- a/
MainControlWindow.py
+++ b/
MainControlWindow.py
@@
-10,7
+10,7
@@
import sys
import vte
import vte
-import
Gdb
Terminal
+import
Dbg
Terminal
import ClientIOTerminal
import ClientIOTerminal
@@
-20,7
+20,7
@@
class MainControlWindow (gtk.Window):
#Set up GTK stuff
gtk.Window.__init__(self)
#Set up GTK stuff
gtk.Window.__init__(self)
- self.connect("destroy",
lambda *w: gtk.main_quit()
)
+ self.connect("destroy",
DbgTerminal.quitHandler
)
#Callbacks for new positions
self.newPosCbs = []
#Callbacks for new positions
self.newPosCbs = []
@@
-39,8
+39,8
@@
class MainControlWindow (gtk.Window):
self.add(vbox)
#Button box
self.add(vbox)
#Button box
- hbtnbox = gtk.HB
uttonBox(
)
- hbtnbox.set_layout(gtk.BUTTONBOX_START)
+ hbtnbox = gtk.HB
ox(False, spacing=5
)
+
#
hbtnbox.set_layout(gtk.BUTTONBOX_START)
vbox.pack_start(hbtnbox)
self.runBtn = gtk.Button("Run")
vbox.pack_start(hbtnbox)
self.runBtn = gtk.Button("Run")