tdo not use svg icons - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit edb012e14af2fec6036aef49b30cc07a5b6342f3 DIR parent 7f087285cf1a5dfe225c3e041ce9d64711d0d758 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 18 Mar 2012 12:38:40 +0100 do not use svg icons Diffstat: M client/gui_qt.py | 6 +++--- M client/icons.qrc | 6 +++--- A client/icons/lock.png | 0 A client/icons/status_waiting.png | 0 A client/icons/unconfirmed.png | 0 M client/interface.py | 1 + 6 files changed, 7 insertions(+), 6 deletions(-) --- DIR diff --git a/client/gui_qt.py b/client/gui_qt.py t@@ -192,7 +192,7 @@ class ElectrumWindow(QMainWindow): icon = QIcon(":icons/status_disconnected.png") elif not self.wallet.interface.is_up_to_date: text = "Synchronizing..." - icon = QIcon(":icons/status_waiting.svg") + icon = QIcon(":icons/status_waiting.png") else: c, u = self.wallet.get_balance() text = "Balance: %s "%( format_satoshis(c) ) t@@ -315,7 +315,7 @@ class ElectrumWindow(QMainWindow): else: conf = 0 time_str = 'pending' - icon = QIcon(":icons/unconfirmed.svg") + icon = QIcon(":icons/unconfirmed.png") v = tx['value'] balance += v label = self.wallet.labels.get(tx_hash) t@@ -619,7 +619,7 @@ class ElectrumWindow(QMainWindow): def create_status_bar(self): sb = QStatusBar() sb.setFixedHeight(35) - sb.addPermanentWidget( StatusBarButton( QIcon(":icons/lock.svg"), "Password", lambda: self.change_password_dialog(self.wallet, self) ) ) + sb.addPermanentWidget( StatusBarButton( QIcon(":icons/lock.png"), "Password", lambda: self.change_password_dialog(self.wallet, self) ) ) sb.addPermanentWidget( StatusBarButton( QIcon(":icons/preferences.png"), "Preferences", self.settings_dialog ) ) sb.addPermanentWidget( StatusBarButton( QIcon(":icons/seed.png"), "Seed", lambda: self.show_seed_dialog(self.wallet, self) ) ) self.status_button = StatusBarButton( QIcon(":icons/status_disconnected.png"), "Network", lambda: self.network_dialog(self.wallet, self) ) DIR diff --git a/client/icons.qrc b/client/icons.qrc t@@ -1,13 +1,13 @@ <RCC> <qresource prefix="/" > <file>icons/confirmed.png</file> - <file>icons/lock.svg</file> + <file>icons/lock.png</file> <file>icons/preferences.png</file> <file>icons/seed.png</file> <file>icons/status_connected.png</file> <file>icons/status_disconnected.png</file> - <file>icons/status_waiting.svg</file> - <file>icons/unconfirmed.svg</file> + <file>icons/status_waiting.png</file> + <file>icons/unconfirmed.png</file> <file>icons/network.png</file> </qresource> </RCC> DIR diff --git a/client/icons/lock.png b/client/icons/lock.png Binary files differ. DIR diff --git a/client/icons/status_waiting.png b/client/icons/status_waiting.png Binary files differ. DIR diff --git a/client/icons/unconfirmed.png b/client/icons/unconfirmed.png Binary files differ. DIR diff --git a/client/interface.py b/client/interface.py t@@ -398,6 +398,7 @@ def loop_interfaces_thread(wallet): time.sleep(5) except: traceback.print_exc(file=sys.stdout) + time.sleep(5) continue print "Starting new session: %s:%d"%(wallet.host,wallet.port)