From e66889c70eba9fc6f7c7a1e5e3acdff5eb8bd963 Mon Sep 17 00:00:00 2001 From: Jonathan Cross Date: Mon, 31 Oct 2016 17:53:03 +0100 Subject: [PATCH] Fixing TrustedCoin logo. --- icons.qrc | 3 ++- icons/trustedcoin-status.png | Bin 0 -> 2034 bytes .../{trustedcoin.png => trustedcoin-wizard.png} | Bin plugins/trustedcoin/qt.py | 4 ++-- plugins/trustedcoin/trustedcoin.py | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 icons/trustedcoin-status.png rename icons/{trustedcoin.png => trustedcoin-wizard.png} (100%) diff --git a/icons.qrc b/icons.qrc index a7e00ce6..481b5d4d 100644 --- a/icons.qrc +++ b/icons.qrc @@ -31,7 +31,8 @@ icons/speaker.png icons/trezor_unpaired.png icons/trezor.png - icons/trustedcoin.png + icons/trustedcoin-status.png + icons/trustedcoin-wizard.png icons/unconfirmed.png icons/unpaid.png icons/unlock.png diff --git a/icons/trustedcoin-status.png b/icons/trustedcoin-status.png new file mode 100644 index 0000000000000000000000000000000000000000..ee920c13e0bc06c3fdad54041256aacde8ea4e70 GIT binary patch literal 2034 zcmVMQ^t0Pz0+dcgo-tN_>i z0FcN4q1FI$tpJwH0JG<-RsaBmya0v30Cuzl12zD#VMA0+`Ptg~b2={Q;cR0G-?Y|Nr;@|Ns8_^8fz; zqTvCc*8r#G|M~6%s^RVb|NHp%|Nr|6#PtEI=l}lq6s+9>rrX~A|1+J*0i4nTuIdzt z$QarCJBGkKyW|I>*e#{gwDvfmGs%5>51n$PAJvg7;m>LJ_w z?(6LXvg=Lf{>J?O4~@yW`u_-$%{t@#;N$8Go6jD&=4ZLv%D=~nleyyW_QmD#q2ciq zoX=g@_Yb`6NWbN4@Bg;0zf`T(A*R*W($`n({@ljJq51!-_x~M-#wmrv0H5Ib?cr>P zxVOsKI+n%c`u<_${B+p$bKUqQl*Kj4@ja!_+}hzs$L^l({EX!JdcfHqtlK-S*g)O< zZL`$B@%^{H%@xh~!p_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IB z5j%Q_me@??0Be8^>=_i^ONJ}(hO{>^5Xw%4psUH61_yoAuQZH3&>W-~uR@|P4S5Q` zh{b>t4)R`o_(6DSt~fEwC$!s7xisLSP`?PU-L&RcoUX2CKqmartS(KXkGb1KMCUm= zF9`GZ=w*HhBH|?ImJYLaB-HkWI!As{X94l5E67^y43KM?1HX_5=;H>jTX3(po+rT&h1?|IV+#T{o}Y~Fsb}ax0PXv% zozAdmG+~ATuWzddU#?6h%rWTQ&-e*|M39kz06XbfjD6WFpW&K0Pp|2J0oGaVIWT5Y Qm;e9(07*qoM6N<$f}QY2CjbBd literal 0 HcmV?d00001 diff --git a/icons/trustedcoin.png b/icons/trustedcoin-wizard.png similarity index 100% rename from icons/trustedcoin.png rename to icons/trustedcoin-wizard.png diff --git a/plugins/trustedcoin/qt.py b/plugins/trustedcoin/qt.py index e2a3034f..cd0f49e0 100644 --- a/plugins/trustedcoin/qt.py +++ b/plugins/trustedcoin/qt.py @@ -55,7 +55,7 @@ class Plugin(TrustedCoinPlugin): action = lambda: window.show_message(msg) else: action = partial(self.settings_dialog, window) - button = StatusBarButton(QIcon(":icons/trustedcoin.png"), + button = StatusBarButton(QIcon(":icons/trustedcoin-status.png"), _("TrustedCoin"), action) window.statusBar().addPermanentWidget(button) t = Thread(target=self.request_billing_info, args=(wallet,)) @@ -127,7 +127,7 @@ class Plugin(TrustedCoinPlugin): hbox = QHBoxLayout() logo = QLabel() - logo.setPixmap(QPixmap(":icons/trustedcoin.png")) + logo.setPixmap(QPixmap(":icons/trustedcoin-status.png")) msg = _('This wallet is protected by TrustedCoin\'s two-factor authentication.') + '
'\ + _("For more information, visit") + " https://api.trustedcoin.com/#/electrum-help" label = QLabel(msg) diff --git a/plugins/trustedcoin/trustedcoin.py b/plugins/trustedcoin/trustedcoin.py index 18b36c3c..1ccb4f84 100644 --- a/plugins/trustedcoin/trustedcoin.py +++ b/plugins/trustedcoin/trustedcoin.py @@ -342,7 +342,7 @@ class TrustedCoinPlugin(BasePlugin): window.wallet.is_billing = False def show_disclaimer(self, wizard): - wizard.set_icon(':icons/trustedcoin.png') + wizard.set_icon(':icons/trustedcoin-wizard.png') wizard.stack = [] wizard.confirm_dialog(title='Disclaimer', message='\n\n'.join(DISCLAIMER), run_next = lambda x: wizard.run('choose_seed')) @@ -413,7 +413,7 @@ class TrustedCoinPlugin(BasePlugin): wizard.passphrase_dialog(run_next=f) if is_ext else f('') def restore_choice(self, wizard, seed, passphrase): - wizard.set_icon(':icons/trustedcoin.png') + wizard.set_icon(':icons/trustedcoin-wizard.png') wizard.stack = [] title = _('Restore 2FA wallet') msg = ' '.join([