Added version to lite gui tile

This commit is contained in:
Maran 2012-12-28 18:27:31 +01:00
parent d48d7aeea6
commit c4f1acade6
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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."""