[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.4-9-g2f709e4

Luca Bruno lethalman88 at gmail.com
Tue Jun 2 17:59:05 UTC 2009


The following commit has been merged in the master branch:
commit 2f709e4b3c77f8bcaf07ca0fc65331dcdbc8a43d
Author: Luca Bruno <lethalman88 at gmail.com>
Date:   Sat May 30 21:43:23 2009 +0200

    check whether the progress bar is present or not before dropping it in he bug page; thanks to Arian Sanusi for the report; Closes: #530686

diff --git a/debian/changelog b/debian/changelog
index 017d24b..1a7db87 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,8 +19,10 @@ reportbug (4.5) UNRELEASED; urgency=low
   * reportbug/ui/gtk2_ui.py:
     - add get_password() support; thanks to Arian Sanusi for the report;
       Closes: #530685
+    - check whether the progress bar is present or not before dropping it in
+      the bug page; thanks to Arian Sanusi for the report; Closes: #530686
 
- -- Luca Bruno <lethalman88 at gmail.com>  Sat, 30 May 2009 21:31:18 +0200
+ -- Luca Bruno <lethalman88 at gmail.com>  Sat, 30 May 2009 21:41:34 +0200
 
 reportbug (4.4) unstable; urgency=low
 
diff --git a/reportbug/ui/gtk2_ui.py b/reportbug/ui/gtk2_ui.py
index 6973c12..01131dc 100644
--- a/reportbug/ui/gtk2_ui.py
+++ b/reportbug/ui/gtk2_ui.py
@@ -350,8 +350,9 @@ class BugPage (gtk.EventBox, threading.Thread):
 
     def drop_progressbar (self):
         child = self.get_child ()
-        self.remove (child)
-        child.unparent ()
+        if child:
+            self.remove (child)
+            child.unparent ()
 
     def pulse (self):
         self.progress.pulse ()

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list