(trunk-1555) Show application if --new-tab passed, although needs currently broken dbus - lp #1367680

This commit is contained in:
Stephen Boddy 2015-06-19 03:41:46 +02:00
parent 5fecd18da1
commit 56e78990f2
1 changed files with 2 additions and 0 deletions

View File

@ -267,6 +267,8 @@ class Window(Container, Gtk.Window):
if not self.is_child_notebook(): if not self.is_child_notebook():
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.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):