From 261fff2af1ae05046ed78ad2b6ee9b85eb742037 Mon Sep 17 00:00:00 2001 From: thomasv Date: Fri, 4 Jan 2013 12:18:16 +0100 Subject: [PATCH] do not let users switch to gtk/text from qt --- lib/gui_qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gui_qt.py b/lib/gui_qt.py index 64c5c4215..343318c6e 100644 --- a/lib/gui_qt.py +++ b/lib/gui_qt.py @@ -1562,12 +1562,12 @@ class ElectrumWindow(QMainWindow): gui_label=QLabel(_('Default GUI') + ':') grid_ui.addWidget(gui_label , 7, 0) gui_combo = QComboBox() - gui_combo.addItems(['Lite', 'Classic', 'Gtk', 'Text']) + gui_combo.addItems(['Lite', 'Classic']) index = gui_combo.findText(self.config.get("gui","classic").capitalize()) if index==-1: index = 1 gui_combo.setCurrentIndex(index) grid_ui.addWidget(gui_combo, 7, 1) - grid_ui.addWidget(HelpButton(_('Select which GUI mode to use at start up. ')), 7, 2) + grid_ui.addWidget(HelpButton(_('Select which GUI mode to use at start up.'+'\n'+'Note: use the command line to access the "text" and "gtk" GUIs')), 7, 2) if not self.config.is_modifiable('gui'): for w in [gui_combo, gui_label]: w.setEnabled(False)