/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: Sabin Iacob (m0n5t3r)
  • Date: 2008-05-29 09:48:15 UTC
  • mfrom: (496 bzr-gtk)
  • mto: This revision was merged to the branch mainline in revision 499.
  • Revision ID: iacobs@m0n5t3r.info-20080529094815-4b2ne78kjh3mnykk
merge trunk

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):