X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=StatusWindow.py;h=1eb486251471aa9d540a27b5108b67607f5d02fd;hb=d5dc6369fca636f78c76f0f95aefb9817289e27f;hp=a97e62588233bac642ac2eaac983c29afad22152;hpb=e3403072dbc8f31817f6492dea70ebdf5128fcb2;p=pygdb.git diff --git a/StatusWindow.py b/StatusWindow.py index a97e625..1eb4862 100644 --- a/StatusWindow.py +++ b/StatusWindow.py @@ -8,6 +8,7 @@ import gtk import vte import WatchesFrame +import BreakpointsFrame class StatusWindow (gtk.Window): @@ -19,7 +20,8 @@ class StatusWindow (gtk.Window): self.set_border_width(5) self.set_title("Status") - self.set_default_size(400,400) + self.set_default_size(400,600) + self.connect("destroy", lambda *w: gtk.main_quit()) vbox = gtk.VBox(False, 5) @@ -33,6 +35,9 @@ class StatusWindow (gtk.Window): self.watchesFrame = WatchesFrame.WatchesFrame(debugger) vpaned.add1(self.watchesFrame) + self.breakpointsFrame = BreakpointsFrame.BreakpointsFrame(debugger) + vpaned.add2(self.breakpointsFrame) + self.show_all() @@ -45,5 +50,6 @@ class StatusWindow (gtk.Window): self.status.set_text("%s:%s" % (file, lineno)) self.watchesFrame.updateValues() + self.breakpointsFrame.updateValues()