bleh, helps if you actually keep track of what's happening

This commit is contained in:
Chris Jones 2009-01-27 18:18:57 +00:00
parent c190287d6c
commit cb802ca85e
2 changed files with 3 additions and 0 deletions

View File

@ -752,6 +752,7 @@ class Terminator:
# Make sure we are actually ready to do this # Make sure we are actually ready to do this
while gtk.events_pending (): while gtk.events_pending ():
dbg ('WEIRD: Running a main loop iteration. 2')
gtk.main_iteration () gtk.main_iteration ()
# create a new terminal and parent pane. # create a new terminal and parent pane.
@ -769,6 +770,7 @@ class Terminator:
# Make sure we are actually ready to return # Make sure we are actually ready to return
while gtk.events_pending (): while gtk.events_pending ():
dbg ('WEIRD: Running a main loop iteration. 3')
gtk.main_iteration () gtk.main_iteration ()
return return

View File

@ -243,6 +243,7 @@ class TerminatorTerm (gtk.VBox):
os.putenv ('COLORTERM', 'gnome-terminal') os.putenv ('COLORTERM', 'gnome-terminal')
dbg ('SEGBUG: TerminatorTerm __init__ complete') dbg ('SEGBUG: TerminatorTerm __init__ complete')
while gtk.events_pending (): while gtk.events_pending ():
dbg ('WEIRD: Running a main loop iteration. 1')
gtk.main_iteration () gtk.main_iteration ()
self.reconfigure_vte () self.reconfigure_vte ()