tSet the current balance in the tray icon - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 5092c6b8d39dddad45704c5c08bf9d9595e46072 DIR parent ea1cb0a6130c970e8c322bff13ad07c4de989a01 HTML Author: Maran <maran.hidskes@gmail.com> Date: Fri, 26 Jul 2013 21:14:51 +0200 Set the current balance in the tray icon Diffstat: M gui/gui_classic.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/gui/gui_classic.py b/gui/gui_classic.py t@@ -565,6 +565,7 @@ class ElectrumWindow(QMainWindow): text = _( "Balance" ) + ": %s "%( self.format_amount(c) ) + self.base_unit() if u: text += " [%s unconfirmed]"%( self.format_amount(u,True).strip() ) text += self.create_quote_text(Decimal(c+u)/100000000) + self.tray.setToolTip(text) icon = QIcon(":icons/status_connected.png") else: text = _("Not connected")