/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to ui.py

  • Committer: Jelmer Vernooij
  • Date: 2008-05-09 23:51:46 UTC
  • mfrom: (482.1.1 fix-ghost-window)
  • Revision ID: jelmer@samba.org-20080509235146-ahwky8unhs3llqf2
merge fix for ghost progress window.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
    def remove(self, pb):
88
88
        self.vbox.remove(pb)
 
89
        if len(self.vbox.get_children()) == 0: # If there is nothing to show, don't leave a ghost window here
 
90
             self.destroy()
89
91
 
90
92
 
91
93
class PasswordDialog(gtk.Dialog):