electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 5c1cdf02cd35381050cf81d99cbbf5003540b597
parent 81b6ae77ef7ee6804e1e8474289f2d32475ff8c2
Author: ThomasV <thomasv@electrum.org>
Date:   Sat, 11 Mar 2017 16:13:28 +0100

Revert "display unicode wallet path in Qt GUI"

This reverts commit 6318bda54d55c381d40057a76cdac843ac918936.

Diffstat:
Mgui/qt/main_window.py | 9+++------
1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -338,11 +338,9 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): self.print_error("using default geometry") self.setGeometry(100, 100, 840, 400) - def wallet_name(self): - return self.wallet.basename().decode('utf8') - def watching_only_changed(self): - title = 'Electrum %s - %s' % (self.wallet.electrum_version, self.wallet_name()) + title = 'Electrum %s - %s' % (self.wallet.electrum_version, + self.wallet.basename()) extra = [self.wallet.storage.get('wallet_type', '?')] if self.wallet.is_watching_only(): self.warn_if_watching_only() @@ -387,7 +385,6 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): self.show_critical(_("Electrum was unable to copy your wallet file to the specified location.") + "\n" + str(reason), title=_("Unable to create backup")) def update_recently_visited(self, filename): - filename = filename.decode('utf8') recent = self.config.get('recently_open', []) if filename in recent: recent.remove(filename) @@ -678,7 +675,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): text = _("Not connected") icon = QIcon(":icons/status_disconnected.png") - self.tray.setToolTip("%s (%s)" % (text, self.wallet_name())) + self.tray.setToolTip("%s (%s)" % (text, self.wallet.basename())) self.balance_label.setText(text) self.status_button.setIcon( icon )