tadded quit functionality to menubar in lite gui - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d76a85acffb0d37fa4ecba89fa88fdf4c84bd111 DIR parent e28d0e3288438f5eb181bdeeb28f5fc98fe2acfe HTML Author: Jimbo77 <onlineregular@gmail.com> Date: Tue, 21 Aug 2012 22:21:28 -0700 added quit functionality to menubar in lite gui Diffstat: M lib/gui_lite.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -179,8 +179,8 @@ class MiniWindow(QDialog): electrum_menu.addSeparator() brain_seed = electrum_menu.addAction(_("&BrainWallet Info")) brain_seed.triggered.connect(self.actuator.show_seed_dialog) - - electrum_menu.addAction(_("&Quit")) + quit_option = electrum_menu.addAction(_("&Quit")) + quit_option.triggered.connect(self.actuator.quit) view_menu = menubar.addMenu(_("&View")) expert_gui = view_menu.addAction(_("&Pro Mode")) t@@ -599,6 +599,9 @@ class MiniActuator: def show_seed_dialog(self): gui_qt.ElectrumWindow.show_seed_dialog(self.wallet) + def quit(self): + sys.exit(0) + class MiniDriver(QObject): INITIALIZING = 0