Browse Source

Set the current balance in the tray icon

283
Maran 12 years ago
parent
commit
5092c6b8d3
  1. 1
      gui/gui_classic.py

1
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")

Loading…
Cancel
Save