From f2277adf10475c3563363e2f586e92cbb7b259f9 Mon Sep 17 00:00:00 2001 From: Jimbo77 Date: Wed, 22 Aug 2012 18:05:53 -0700 Subject: [PATCH] created mousePressedEvents() and se_balance_text() docstrings --- lib/gui_lite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gui_lite.py b/lib/gui_lite.py index 2e59115f..4d21c3fc 100644 --- a/lib/gui_lite.py +++ b/lib/gui_lite.py @@ -391,10 +391,12 @@ class BalanceLabel(QLabel): self.amount_text = "" def mousePressEvent(self, event): + """Change the fiat currency selection if window background is clicked.""" if self.state != self.SHOW_CONNECTING: self.change_quote_currency() def set_balance_text(self, btc_balance, quote_text): + """Set the amount of bitcoins in the gui.""" if self.state == self.SHOW_CONNECTING: self.state = self.SHOW_BALANCE self.balance_text = "%s BTC %s" % (btc_balance, quote_text)