[Pkg-bazaar-commits] ./bzr-gtk/unstable r489: merge fix for ghost progress window.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:44:44 UTC 2009
------------------------------------------------------------
revno: 489
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-05-10 01:51:46 +0200
message:
merge fix for ghost progress window.
modified:
ui.py
------------------------------------------------------------
revno: 482.1.1
author: Jean-François Fortin Tam <jeff at ecchi.ca>
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: fix-ghost-window
timestamp: Fri 2008-05-02 00:24:50 +0200
message:
Fix ghost window caused by progress bars.
modified:
ui.py
-------------- next part --------------
=== modified file 'ui.py'
--- a/ui.py 2008-03-20 16:06:23 +0000
+++ b/ui.py 2008-05-01 22:24:50 +0000
@@ -86,6 +86,8 @@
def remove(self, pb):
self.vbox.remove(pb)
+ if len(self.vbox.get_children()) == 0: # If there is nothing to show, don't leave a ghost window here
+ self.destroy()
class PasswordDialog(gtk.Dialog):
More information about the Pkg-bazaar-commits
mailing list