/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 notify.py

  • Committer: Vincent Ladeuil
  • Date: 2008-10-23 08:14:59 UTC
  • mto: This revision was merged to the branch mainline in revision 618.
  • Revision ID: v.ladeuil+lp@free.fr-20081023081459-3rgjsohomf8rbe44
Fix bug #131589 by using a gtk.Window instead of a gtk.Dialog.

* status.py:
(StatusWindow): Renamed from StatusDialog, we're a window now.
(StatusWindow.__init__, StatusWindow._create): Adjusted to Window
inheritance.

* __init__.py:
(cmd_gstatus.run): Use a Window instead of a dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
            self.zeroconfserver.close()
75
75
 
76
76
    def show_about(self, item):
77
 
        from about import AboutDialog
 
77
        from bzrlib.plugins.gtk.about import AboutDialog
78
78
        dialog = AboutDialog()
79
79
        dialog.run()
80
80
 
81
81
    def show_preferences(self, item):
82
 
        from preferences import PreferencesWindow
 
82
        from bzrlib.plugins.gtk.preferences import PreferencesWindow
83
83
        prefs = PreferencesWindow()
84
84
        prefs.run()
85
85