electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit edb012e14af2fec6036aef49b30cc07a5b6342f3
parent 7f087285cf1a5dfe225c3e041ce9d64711d0d758
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 18 Mar 2012 12:38:40 +0100

do not use svg icons

Diffstat:
Mclient/gui_qt.py | 6+++---
Mclient/icons.qrc | 6+++---
Aclient/icons/lock.png | 0
Aclient/icons/status_waiting.png | 0
Aclient/icons/unconfirmed.png | 0
Mclient/interface.py | 1+
6 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/client/gui_qt.py b/client/gui_qt.py @@ -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) ) @@ -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) @@ -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) ) diff --git a/client/icons.qrc b/client/icons.qrc @@ -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> diff --git a/client/icons/lock.png b/client/icons/lock.png Binary files differ. diff --git a/client/icons/status_waiting.png b/client/icons/status_waiting.png Binary files differ. diff --git a/client/icons/unconfirmed.png b/client/icons/unconfirmed.png Binary files differ. diff --git a/client/interface.py b/client/interface.py @@ -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)