projects
/
pygdb.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added watches and status line
[pygdb.git]
/
MainControlWindow.py
diff --git
a/MainControlWindow.py
b/MainControlWindow.py
index d82baaf760ebe069695b14c5b5833fb5cd7c2dd0..55bff28ce698ae6eb83329dccd63da2dd3f36690 100755
(executable)
--- a/
MainControlWindow.py
+++ b/
MainControlWindow.py
@@
-132,15
+132,16
@@
class MainControlWindow (gtk.Window):
if __name__ == "__main__":
if __name__ == "__main__":
- def newpos(pos):
- print "new pos: ", pos
+
+ import StatusWindow
clientCmd = string.join(sys.argv[1:])
dbgterm = GdbTerminal.GdbTerminal(clientCmd)
mainCtrlWnd = MainControlWindow(dbgterm)
clientCmd = string.join(sys.argv[1:])
dbgterm = GdbTerminal.GdbTerminal(clientCmd)
mainCtrlWnd = MainControlWindow(dbgterm)
- mainCtrlWnd.newPosCbs += [newpos]
+ statusWnd = StatusWindow.StatusWindow(mainCtrlWnd, dbgterm)
+ mainCtrlWnd.newPosCbs += [statusWnd.updateValues]
gtk.main()
gtk.main()