From c7b8d302542cfacf782ef5203240ee3276a80b83 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 16 Dec 2007 16:49:49 +0000 Subject: [PATCH] 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 --- terminator | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terminator b/terminator index 8f54bc97..447c2e80 100755 --- a/terminator +++ b/terminator @@ -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):