From: Maran Date: Fri, 28 Dec 2012 17:27:31 +0000 (+0100) Subject: Added version to lite gui tile X-Git-Url: https://git.novaco.in/?p=electrum-nvc.git;a=commitdiff_plain;h=c4f1acade69ea972dde66947252b197d5c18dcf1 Added version to lite gui tile --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 67f8180..bbe25be 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -1,6 +1,7 @@ # Release 1.5.8 (Not released) == Lite GUI * (Bug) Sending to auto-completed contacts works again +* (Chore) Added version number to title bar # Release 1.5.7 (18-12-2012) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index 7bae9a8..a1f576e 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -31,6 +31,7 @@ import util import csv import datetime +from version import ELECTRUM_VERSION as electrum_version from wallet import format_satoshis import gui_qt import shutil @@ -447,7 +448,7 @@ class MiniWindow(QDialog): quote_text = "(%s)" % quote_text btc_balance = "%.2f" % (btc_balance / bitcoin(1)) self.balance_label.set_balance_text(btc_balance, quote_text) - self.setWindowTitle("Electrum - %s BTC" % btc_balance) + self.setWindowTitle("Electrum %s - %s BTC" % (electrum_version, btc_balance)) def amount_input_changed(self, amount_text): """Update the number of bitcoins displayed."""