def show_preferences(self): """ Shows the preferences dialog """ from xlgui.preferences import PreferencesDialog dialog = PreferencesDialog(self.main.window, self) dialog.run()
def preferences_cb(*args): from xlgui.preferences import PreferencesDialog dialog = PreferencesDialog(get_main().window, get_main().controller) dialog.run()