do not use svg icons
This commit is contained in:
parent
7f087285cf
commit
edb012e14a
|
@ -192,7 +192,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
icon = QIcon(":icons/status_disconnected.png")
|
icon = QIcon(":icons/status_disconnected.png")
|
||||||
elif not self.wallet.interface.is_up_to_date:
|
elif not self.wallet.interface.is_up_to_date:
|
||||||
text = "Synchronizing..."
|
text = "Synchronizing..."
|
||||||
icon = QIcon(":icons/status_waiting.svg")
|
icon = QIcon(":icons/status_waiting.png")
|
||||||
else:
|
else:
|
||||||
c, u = self.wallet.get_balance()
|
c, u = self.wallet.get_balance()
|
||||||
text = "Balance: %s "%( format_satoshis(c) )
|
text = "Balance: %s "%( format_satoshis(c) )
|
||||||
|
@ -315,7 +315,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
else:
|
else:
|
||||||
conf = 0
|
conf = 0
|
||||||
time_str = 'pending'
|
time_str = 'pending'
|
||||||
icon = QIcon(":icons/unconfirmed.svg")
|
icon = QIcon(":icons/unconfirmed.png")
|
||||||
v = tx['value']
|
v = tx['value']
|
||||||
balance += v
|
balance += v
|
||||||
label = self.wallet.labels.get(tx_hash)
|
label = self.wallet.labels.get(tx_hash)
|
||||||
|
@ -619,7 +619,7 @@ class ElectrumWindow(QMainWindow):
|
||||||
def create_status_bar(self):
|
def create_status_bar(self):
|
||||||
sb = QStatusBar()
|
sb = QStatusBar()
|
||||||
sb.setFixedHeight(35)
|
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/preferences.png"), "Preferences", self.settings_dialog ) )
|
||||||
sb.addPermanentWidget( StatusBarButton( QIcon(":icons/seed.png"), "Seed", lambda: self.show_seed_dialog(self.wallet, self) ) )
|
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) )
|
self.status_button = StatusBarButton( QIcon(":icons/status_disconnected.png"), "Network", lambda: self.network_dialog(self.wallet, self) )
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<RCC>
|
<RCC>
|
||||||
<qresource prefix="/" >
|
<qresource prefix="/" >
|
||||||
<file>icons/confirmed.png</file>
|
<file>icons/confirmed.png</file>
|
||||||
<file>icons/lock.svg</file>
|
<file>icons/lock.png</file>
|
||||||
<file>icons/preferences.png</file>
|
<file>icons/preferences.png</file>
|
||||||
<file>icons/seed.png</file>
|
<file>icons/seed.png</file>
|
||||||
<file>icons/status_connected.png</file>
|
<file>icons/status_connected.png</file>
|
||||||
<file>icons/status_disconnected.png</file>
|
<file>icons/status_disconnected.png</file>
|
||||||
<file>icons/status_waiting.svg</file>
|
<file>icons/status_waiting.png</file>
|
||||||
<file>icons/unconfirmed.svg</file>
|
<file>icons/unconfirmed.png</file>
|
||||||
<file>icons/network.png</file>
|
<file>icons/network.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
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 |
|
@ -398,6 +398,7 @@ def loop_interfaces_thread(wallet):
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
except:
|
except:
|
||||||
traceback.print_exc(file=sys.stdout)
|
traceback.print_exc(file=sys.stdout)
|
||||||
|
time.sleep(5)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
print "Starting new session: %s:%d"%(wallet.host,wallet.port)
|
print "Starting new session: %s:%d"%(wallet.host,wallet.port)
|
||||||
|
|
Loading…
Reference in New Issue