URI: 
       tsimplification - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 5adb10e4d2229a9ac7e3d8ec271e36fcf24ab516
   DIR parent 6d8eebe2dbda262f6ee054f3565bf1f34b6d8756
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Sat, 15 Nov 2014 14:43:48 +0100
       
       simplification
       
       Diffstat:
         M gui/qt/__init__.py                  |      18 +++++++-----------
       
       1 file changed, 7 insertions(+), 11 deletions(-)
       ---
   DIR diff --git a/gui/qt/__init__.py b/gui/qt/__init__.py
       t@@ -154,7 +154,6 @@ class ElectrumGui:
                    try:
                        wallet = Wallet(storage)
                    except BaseException as e:
       -                traceback.print_exc(file=sys.stdout)
                        QMessageBox.warning(None, _('Warning'), str(e), _('OK'))
                        return
                    action = wallet.get_action()
       t@@ -171,16 +170,13 @@ class ElectrumGui:
                    wallet.start_threads(self.network)
        
                # init tray
       -        if 1:
       -            self.dark_icon = self.config.get("dark_icon", False)
       -            icon = QIcon(":icons/electrum_dark_icon.png") if self.dark_icon else QIcon(':icons/electrum_light_icon.png')
       -            self.tray = QSystemTrayIcon(icon, None)
       -            self.tray.setToolTip('Electrum')
       -            self.tray.activated.connect(self.tray_activated)
       -            self.build_tray_menu()
       -            self.tray.show()
       -        else:
       -            self.tray = None
       +        self.dark_icon = self.config.get("dark_icon", False)
       +        icon = QIcon(":icons/electrum_dark_icon.png") if self.dark_icon else QIcon(':icons/electrum_light_icon.png')
       +        self.tray = QSystemTrayIcon(icon, None)
       +        self.tray.setToolTip('Electrum')
       +        self.tray.activated.connect(self.tray_activated)
       +        self.build_tray_menu()
       +        self.tray.show()
        
                # main window
                self.main_window = w = ElectrumWindow(self.config, self.network, self)