[jhbuild: 23/60] [gui] don't catch terminal eof as it could happen just before child exit



commit b59c39368fdfb38e8f6a0361671acf90147b8b27
Author: Frédéric Péters <fpeters 0d be>
Date:   Sun May 17 14:15:01 2009 +0200

    [gui] don't catch terminal eof as it could happen just before child exit
---
 jhbuild/frontends/gtkui.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/jhbuild/frontends/gtkui.py b/jhbuild/frontends/gtkui.py
index 32fd3c2..65081bb 100644
--- a/jhbuild/frontends/gtkui.py
+++ b/jhbuild/frontends/gtkui.py
@@ -155,7 +155,6 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
             sclwin.set_policy(gtk.POLICY_NEVER, gtk.POLICY_ALWAYS)
             expander.add(sclwin)
             self.terminal = vte.Terminal()
-            self.terminal.connect('eof', self.on_vte_eof_cb)
             self.terminal.connect('child-exited', self.on_vte_child_exit_cb)
             sclwin.add(self.terminal)
 
@@ -392,10 +391,6 @@ class AppWindow(gtk.Window, buildscript.BuildScript):
         if rc:
             raise CommandError(_('Command returned: %s' % rc))
 
-    def on_vte_eof_cb(self, terminal):
-        self.vte_fork_running = False
-        self.vte_child_exit_status = -1
-
     def on_vte_child_exit_cb(self, terminal):
         self.vte_fork_running = False
         self.vte_child_exit_status = self.terminal.get_child_exit_status()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]