def show_prefs(self, *args): # TODO DBUS ONLY # TODO TRAY ONLY """Hides the main window and creates an instance of the Preferences window. """ self.hide() PrefsDialog(self.settings).show()
def show_prefs(self, *args): """Hides the main window and creates an instance of the Preferences window. """ self.hide() PrefsDialog().show()
def on_show_preferences(self, *args): self.notebook.guake.hide() PrefsDialog(self.settings).show()
def on_show_preferences(self, user_data): self.guake.hide() PrefsDialog(self.guake.settings).show()