do not use svg icons

This commit is contained in:
ThomasV 2012-03-18 12:38:40 +01:00
parent 7f087285cf
commit edb012e14a
6 changed files with 7 additions and 6 deletions

View File

@ -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) )

View File

@ -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>

BIN
client/icons/lock.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -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)