Fix bogus child spawning. realize happens more than you might hope.

This commit is contained in:
Chris Jones 2009-10-27 23:23:59 +00:00
parent ef1e82e5b0
commit ede7fc7552
3 changed files with 2 additions and 1 deletions

View File

@ -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"""

View File

@ -17,6 +17,7 @@ foo.register_terminal(term)
window.add(term)
window.show()
term.spawn_child()
window.connect("destroy", on_window_destroyed)

View File

@ -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"""