Jonathan Cross
8 years ago
No known key found for this signature in database
GPG Key ID: D8578DF8EA7CCF1B
5 changed files with
6 additions and
5 deletions
-
icons.qrc
-
BIN
icons/trustedcoin-status.png
-
icons/trustedcoin-wizard.png
-
plugins/trustedcoin/qt.py
-
plugins/trustedcoin/trustedcoin.py
|
|
@ -31,7 +31,8 @@ |
|
|
|
<file>icons/speaker.png</file> |
|
|
|
<file>icons/trezor_unpaired.png</file> |
|
|
|
<file>icons/trezor.png</file> |
|
|
|
<file>icons/trustedcoin.png</file> |
|
|
|
<file>icons/trustedcoin-status.png</file> |
|
|
|
<file>icons/trustedcoin-wizard.png</file> |
|
|
|
<file>icons/unconfirmed.png</file> |
|
|
|
<file>icons/unpaid.png</file> |
|
|
|
<file>icons/unlock.png</file> |
|
|
|
Width:
|
Height:
|
Size: 2.0 KiB
|
Width:
|
Height:
|
Size: 2.2 KiB
Width:
|
Height:
|
Size: 2.2 KiB
|
|
|
@ -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.') + '<br/>'\ |
|
|
|
+ _("For more information, visit") + " <a href=\"https://api.trustedcoin.com/#/electrum-help\">https://api.trustedcoin.com/#/electrum-help</a>" |
|
|
|
label = QLabel(msg) |
|
|
|
|
|
@ -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([ |
|
|
|