def show_editor_preferences(self, editor): from snaked.core.gui.editor_prefs import PreferencesDialog dialog = PreferencesDialog(self.lang_prefs) dialog.show(editor)
def show_preferences(self, editor): from snaked.core.gui.prefs import PreferencesDialog dialog = PreferencesDialog() dialog.show(editor)