commit a361a05b08f360101e1550a33d6403d32c08ef7e
parent 5d01831090505e33292f9522fa22ffd6414749a4
Author: thomasv <thomasv@gitorious>
Date: Wed, 17 Oct 2012 15:33:59 +0200
text gui
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum b/electrum
@@ -130,7 +130,7 @@ if __name__ == '__main__':
usage = "usage: %prog [options] command\nCommands: "+ (', '.join(known_commands))
parser = optparse.OptionParser(prog=usage)
- parser.add_option("-g", "--gui", dest="gui", help="gui")
+ parser.add_option("-g", "--gui", dest="gui", help="User interface: qt, lite, gtk or text")
parser.add_option("-w", "--wallet", dest="wallet_path", help="wallet path (default: electrum.dat)")
parser.add_option("-o", "--offline", action="store_true", dest="offline", default=False, help="remain offline")
parser.add_option("-a", "--all", action="store_true", dest="show_all", default=False, help="show all addresses")
diff --git a/lib/gui_qt.py b/lib/gui_qt.py
@@ -1299,7 +1299,7 @@ class ElectrumWindow(QMainWindow):
gui_label=QLabel(_('Default GUI') + ':')
grid.addWidget(gui_label , 7, 0)
gui_combo = QComboBox()
- gui_combo.addItems(['Lite', 'Classic', 'Gtk'])
+ gui_combo.addItems(['Lite', 'Classic', 'Gtk', 'Text'])
gui_combo.setCurrentIndex(gui_combo.findText(self.config.get("gui","classic").capitalize()))
grid.addWidget(gui_combo, 7, 1)
grid.addWidget(HelpButton(_('Select which GUI mode to use at start up. ')), 7, 2)