diff --git a/electrum/gui/icons/trustedcoin-status-disabled.png b/electrum/gui/icons/trustedcoin-status-disabled.png new file mode 100644 index 000000000..eeb3b801b Binary files /dev/null and b/electrum/gui/icons/trustedcoin-status-disabled.png differ diff --git a/electrum/plugins/trustedcoin/qt.py b/electrum/plugins/trustedcoin/qt.py index f443bb526..df8c7051c 100644 --- a/electrum/plugins/trustedcoin/qt.py +++ b/electrum/plugins/trustedcoin/qt.py @@ -99,10 +99,11 @@ class Plugin(TrustedCoinPlugin): _('Therefore, two-factor authentication is disabled.') ]) action = lambda: window.show_message(msg) + icon = read_QIcon("trustedcoin-status-disabled.png") else: action = partial(self.settings_dialog, window) - button = StatusBarButton(read_QIcon("trustedcoin-status.png"), - _("TrustedCoin"), action) + icon = read_QIcon("trustedcoin-status.png") + button = StatusBarButton(icon, _("TrustedCoin"), action) window.statusBar().addPermanentWidget(button) self.start_request_thread(window.wallet)