Added additional command to present window. On my system the show unminimized the window, but if a window was just in the background, it was not raised.

This commit is contained in:
Stephen Boddy 2015-06-19 03:12:51 +02:00
parent 60fb23ea9e
commit 43b0c54986
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ class Window(Container, gtk.Window):
dbg('Making a new Notebook') dbg('Making a new Notebook')
notebook = maker.make('Notebook', window=self) notebook = maker.make('Notebook', window=self)
self.show() self.show()
self.present()
return self.get_child().newtab(debugtab, cwd=cwd, profile=profile) return self.get_child().newtab(debugtab, cwd=cwd, profile=profile)
def on_delete_event(self, window, event, data=None): def on_delete_event(self, window, event, data=None):