From c4f1acade69ea972dde66947252b197d5c18dcf1 Mon Sep 17 00:00:00 2001 From: Maran Date: Fri, 28 Dec 2012 18:27:31 +0100 Subject: [PATCH] Added version to lite gui tile --- RELEASE-NOTES | 1 + lib/gui_lite.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) 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.""" -- 1.7.1