Back out earlier debugging changes

This commit is contained in:
Chris Jones 2009-01-27 21:19:10 +00:00
parent cfeac42e2a
commit 337c650f34
2 changed files with 1 additions and 20 deletions

View File

@ -750,11 +750,6 @@ class Terminator:
dbg ("splitaxis function called, but Terminator was in zoomed mode.") dbg ("splitaxis function called, but Terminator was in zoomed mode.")
return return
# 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. # create a new terminal and parent pane.
dbg ('SEGBUG: Creating TerminatorTerm') dbg ('SEGBUG: Creating TerminatorTerm')
terminal = TerminatorTerm (self, self.profile, command, widget.get_cwd()) terminal = TerminatorTerm (self, self.profile, command, widget.get_cwd())
@ -767,12 +762,6 @@ class Terminator:
dbg ('SEGBUG: showed TerminatorTerm') dbg ('SEGBUG: showed TerminatorTerm')
terminal.spawn_child () terminal.spawn_child ()
dbg ('SEGBUG: spawned child') dbg ('SEGBUG: spawned child')
# Make sure we are actually ready to return
while gtk.events_pending ():
dbg ('WEIRD: Running a main loop iteration. 3')
gtk.main_iteration ()
return return
def remove(self, widget, keep = False): def remove(self, widget, keep = False):

View File

@ -123,6 +123,7 @@ class TerminatorTerm (gtk.VBox):
self._composited_support = False self._composited_support = False
#self._vte.set_double_buffered(True) #self._vte.set_double_buffered(True)
self._vte.set_size (80, 24) self._vte.set_size (80, 24)
self.reconfigure_vte ()
self._vte._expose_data = None self._vte._expose_data = None
self._vte.show () self._vte.show ()
@ -242,13 +243,6 @@ class TerminatorTerm (gtk.VBox):
dbg ('SEGBUG: Setting COLORTERM') dbg ('SEGBUG: Setting COLORTERM')
os.putenv ('COLORTERM', 'gnome-terminal') os.putenv ('COLORTERM', 'gnome-terminal')
dbg ('SEGBUG: TerminatorTerm __init__ complete') dbg ('SEGBUG: TerminatorTerm __init__ complete')
while gtk.events_pending ():
dbg ('WEIRD: Running a main loop iteration. 1')
gtk.main_iteration ()
dbg ('WEIRD: Flags before calling reconfigure_vte: %s' % self._vte.flags ())
self.reconfigure_vte ()
dbg ('WEIRD: Flags after calling reconfigure_vte: %s' % self._vte.flags ())
gobject.timeout_add (1000, self.reconfigure_vte)
def openurl (self, url): def openurl (self, url):
dbg ('openurl: viewing %s'%url) dbg ('openurl: viewing %s'%url)
@ -705,8 +699,6 @@ text/plain
self._vte.queue_draw () self._vte.queue_draw ()
return (False)
def on_composited_changed (self, widget): def on_composited_changed (self, widget):
self.reconfigure_vte () self.reconfigure_vte ()