Fix bogus child spawning. realize happens more than you might hope.
This commit is contained in:
parent
ef1e82e5b0
commit
ede7fc7552
@ -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"""
|
||||
|
@ -17,6 +17,7 @@ foo.register_terminal(term)
|
||||
|
||||
window.add(term)
|
||||
window.show()
|
||||
term.spawn_child()
|
||||
|
||||
window.connect("destroy", on_window_destroyed)
|
||||
|
||||
|
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user