From 44c6990a5d358ec2bd14039ba0daeea79f8a57d2 Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Thu, 23 Feb 2017 21:58:43 +0100 Subject: [PATCH] Use blue icon when connected using a proxy --- gui/qt/main_window.py | 5 ++++- icons.qrc | 1 + icons/status_connected_proxy.png | Bin 0 -> 1013 bytes 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 icons/status_connected_proxy.png diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index e3c17e104..1494719c3 100644 --- a/gui/qt/main_window.py +++ b/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") diff --git a/icons.qrc b/icons.qrc index b75d167c2..930ce2529 100644 --- a/icons.qrc +++ b/icons.qrc @@ -26,6 +26,7 @@ icons/preferences.png icons/seed.png icons/status_connected.png + icons/status_connected_proxy.png icons/status_disconnected.png icons/status_waiting.png icons/status_lagging.png diff --git a/icons/status_connected_proxy.png b/icons/status_connected_proxy.png new file mode 100644 index 0000000000000000000000000000000000000000..0a23debee73343e7a99239bf3b87dd547b193348 GIT binary patch literal 1013 zcmVPx#1ZP1_K>z@;j|==^1poj532;bRa{vGh)&Kwv)&Y=jd7JeSaefwW^{L9 za%BK;VQFr3E^cLXAT%y8E-^DS16z6k00U)7L_t(IPpy<|NRwd{$4@jO%2t*U6_{m4 zC6rVMmdpgfpf5=U5p==mf+el#nz~A7=G3{CcG18T@k2)RLHi&^X6m%IE_S60-ROR` zlJYW()Bn8hnp^s@4?jG6p7Z~obDrmUC1(Dw47(^$tX>B!6qnvYI(@f-#IlCH;WWa~ zg=kYS#T(AjDs%7D%$k8Hdjls{btp(IYqF>0Aa{s9;Ky?PGFrZ;Yy6&yzW7QP>nh#6 zs`eJIK66_k>2xQ@R=8RABu8>Z6X4+sq%$PUEjZ8fkG1onlUF&u`nqB&Cd*E_ytp~? zM7xqBxr(V@r-OzVVf3z(ePJbStg&3+$m1QV2t<@R6=s8Q?9VE3GUYU~H0i3bQnb(qLe`0dXfx zZmSp(%bLLjLv)*pPSbEag_sN;ejVz&g9@=}f{`Tey@_t_g8NJd9x`P=LWe+N^F4HR z$7_s^)15r7;4(T4FvJ&-RS%)JBQeT;jI(@(b9;$1e5I220%wRdG0#FlDV%+cDWmS6 zk>zvRTIHbv=?Wd>JW<8gw@kK=;FA}``EPJR&s9^I!g`Bo8?*tJBF`q#)I)ZRl8ZzU zC}v-n9NkQ%KUEyxRAcLFwNnd@z=nxL>;G(&ATIqZZ7lDl;-_kNMIV^#FgV)7bmA9N z84y!@ms(7U9>yda%6diX^YI1p>BSkk$k2d9oR{rAI)YeCj(eDn^&$SjRQwsm-XRA? z^~lxfzYhQD5sjgRNl8ffPV3A2$%c^}=(6N1(-AKY9DyB$iZI2xGLP~vZQhEF&`txR z{xuvA!buyNKr!2#lwj5iuXbm39(cy~00000NkvXXu0mjfg#^hC literal 0 HcmV?d00001