From cb802ca85edc1b2d128a473243e536e58a60f707 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Tue, 27 Jan 2009 18:18:57 +0000 Subject: [PATCH] bleh, helps if you actually keep track of what's happening --- terminatorlib/terminator.py | 2 ++ terminatorlib/terminatorterm.py | 1 + 2 files changed, 3 insertions(+) diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 4505318c..97fadfa0 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -752,6 +752,7 @@ class Terminator: # Make sure we are actually ready to do this while gtk.events_pending (): + dbg ('WEIRD: Running a main loop iteration. 2') gtk.main_iteration () # create a new terminal and parent pane. @@ -769,6 +770,7 @@ class Terminator: # Make sure we are actually ready to return while gtk.events_pending (): + dbg ('WEIRD: Running a main loop iteration. 3') gtk.main_iteration () return diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index e90821fb..fe36cff8 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -243,6 +243,7 @@ class TerminatorTerm (gtk.VBox): os.putenv ('COLORTERM', 'gnome-terminal') dbg ('SEGBUG: TerminatorTerm __init__ complete') while gtk.events_pending (): + dbg ('WEIRD: Running a main loop iteration. 1') gtk.main_iteration () self.reconfigure_vte ()