Browse Source

Use blue icon when connected using a proxy

283
Johann Bauer 8 years ago
parent
commit
44c6990a5d
  1. 5
      gui/qt/main_window.py
  2. 1
      icons.qrc
  3. BIN
      icons/status_connected_proxy.png

5
gui/qt/main_window.py

@ -660,7 +660,10 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
# append fiat balance and price
if self.fx.is_enabled():
text += self.fx.get_fiat_status_text(c + u + x) or ''
icon = QIcon(":icons/status_connected.png")
if not self.network.proxy:
icon = QIcon(":icons/status_connected.png")
else:
icon = QIcon(":icons/status_connected_proxy.png")
else:
text = _("Not connected")
icon = QIcon(":icons/status_disconnected.png")

1
icons.qrc

@ -26,6 +26,7 @@
<file>icons/preferences.png</file>
<file>icons/seed.png</file>
<file>icons/status_connected.png</file>
<file>icons/status_connected_proxy.png</file>
<file>icons/status_disconnected.png</file>
<file>icons/status_waiting.png</file>
<file>icons/status_lagging.png</file>

BIN
icons/status_connected_proxy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1013 B

Loading…
Cancel
Save