diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index b803c637..fe256191 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -246,7 +246,6 @@ class Terminal(gtk.VBox): self.on_vte_notify_enter) self.vte.connect_after('realize', self.reconfigure) - self.vte.connect_after('realize', self.spawn_child) def create_popup_group_menu(self, widget, event = None): """Pop up a menu for the group widget""" diff --git a/terminatorlib/test.py b/terminatorlib/test.py index d809c477..9438b9b7 100755 --- a/terminatorlib/test.py +++ b/terminatorlib/test.py @@ -17,6 +17,7 @@ foo.register_terminal(term) window.add(term) window.show() +term.spawn_child() window.connect("destroy", on_window_destroyed) diff --git a/terminatorlib/window.py b/terminatorlib/window.py index a2598a64..ea00964c 100755 --- a/terminatorlib/window.py +++ b/terminatorlib/window.py @@ -199,6 +199,7 @@ class Window(Container, gtk.Window): container.show() self.add(container) + sibling.spawn_child() class WindowTitle(object): """Class to handle the setting of the window title"""