/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: Martin Albisetti
  • Date: 2008-06-20 03:33:17 UTC
  • mfrom: (498.1.6 gtk)
  • Revision ID: argentina@gmail.com-20080620033317-14hiurwurhhb98ze
(Elliot Murphy) Fix dbus importing

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