def run(self): open_display() from bzrlib.plugins.gtk.preferences import PreferencesWindow dialog = PreferencesWindow() dialog.run()
def show_preferences(self, item): from bzrlib.plugins.gtk.preferences import PreferencesWindow prefs = PreferencesWindow() prefs.run()