add window title formatting

This commit is contained in:
Tom Tromey
2015-05-04 21:01:18 -06:00
parent 2e78086eff
commit 77e504ab4b
8 changed files with 129 additions and 19 deletions

View File

@@ -27,8 +27,8 @@ class UpdateWindow(Toplevel):
In particular, starting or stopping the inferior, or switching
frames, causes this window to be eligible for updates."""
def __init__(self):
super(UpdateWindow, self).__init__()
def __init__(self, window_type):
super(UpdateWindow, self).__init__(window_type)
gui.startup.send_to_gtk(self.gtk_initialize)
self._connect_events()
# Display the data now.