commit 5092c6b8d39dddad45704c5c08bf9d9595e46072
parent ea1cb0a6130c970e8c322bff13ad07c4de989a01
Author: Maran <maran.hidskes@gmail.com>
Date: Fri, 26 Jul 2013 21:14:51 +0200
Set the current balance in the tray icon
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/gui/gui_classic.py b/gui/gui_classic.py
@@ -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")