commit 76474c7eed6bf2ed2cedbdacd0161de333d122c7
parent 39d6b739dd9654ca21ec977a1dec487ec2c46f23
Author: Amir Taaki <genjix@riseup.net>
Date: Thu, 5 Jul 2012 18:16:33 +0200
Don't show fiat currency in titlebar (not enough space).
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/gui_lite.py b/lib/gui_lite.py
@@ -229,10 +229,11 @@ class MiniWindow(QDialog):
btc_balance = "%.2f" % (btc_balance / bitcoin(1))
self.balance_label.set_balance_text(btc_balance, quote_text)
main_account_info = \
- "Checking - %s BTC %s" % (btc_balance, quote_text)
+ "Checking - %s BTC" % btc_balance
self.setWindowTitle("Electrum - %s" % main_account_info)
self.accounts_selector.clear()
- self.accounts_selector.addAction("%s" % main_account_info)
+ self.accounts_selector.addAction("%s %s" % (main_account_info,
+ quote_text))
def amount_input_changed(self, amount_text):
try: