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
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

View File

@ -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 ()