[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.0-22-ge53e415

Luca Bruno lethalman88 at gmail.com
Wed Mar 25 22:56:46 UTC 2009


The following commit has been merged in the master branch:
commit 8d89351d973016ff78e66bb95071a161dbab6c59
Author: Luca Bruno <lethalman88 at gmail.com>
Date:   Tue Mar 24 22:41:58 2009 +0100

    Forward page once the terminal child has exited

diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 10429aa..3a824f9 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -374,7 +374,7 @@ class BugPage (gtk.EventBox, threading.Thread):
         self.application.set_next_value (self.number)
         # Forward the assistant to the progress bar
         self.assistant.forward_page ()
-        # Though we only a page, we are authorized to destroy our parent :)
+        # Though we're only a page, we are authorized to destroy our parent :)
         self.dialog.destroy ()
 
 class BugsDialog (gtk.Dialog):
@@ -1097,7 +1097,8 @@ class SystemPage (Page):
         return hbox
 
     def on_child_exited (self, terminal):
-        self.set_page_complete (True)
+        self.application.set_next_value (None)
+        self.assistant.forward_page ()
 
     def execute (self, cmdline):
         self.terminal.fork_command ('/bin/bash', ['/bin/bash', '-c', cmdline])

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list