Rather than using blunderbus show_all()s, only show widgets that need to be shown and only when they need to be. This fixes LP #172829

This commit is contained in:
Chris Jones 2007-12-16 16:49:49 +00:00
parent ff84c08617
commit c7b8d30254

View File

@ -451,7 +451,8 @@ class Terminator:
pane.pack1 (widget.get_box (), True, True)
pane.pack2 (term2.get_box (), True, True)
parent.show_all ()
pane.show ()
term2.get_box ().show ()
# insert the term reference into the list
index = self.term_list.index (widget)
self.term_list.insert (index + 1, term2)
@ -468,6 +469,7 @@ class Terminator:
if not self.on_delete_event (parent, gtk.gdk.Event (gtk.gdk.DELETE)):
self.on_destroy_event (parent, gtk.gdk.Event (gtk.gdk.DESTROY))
return
if isinstance (parent, gtk.Paned):
grandparent = parent.get_parent ()
@ -494,8 +496,6 @@ class Terminator:
term._vte.grab_focus ()
break
self.window.show_all ()
return
def closetermreq (self):