URI: 
       tcreated mousePressedEvents() and se_balance_text() docstrings - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit f2277adf10475c3563363e2f586e92cbb7b259f9
   DIR parent 3bd77170380152fadc3132ad2695d2fa6d43a6ce
  HTML Author: Jimbo77 <onlineregular@gmail.com>
       Date:   Wed, 22 Aug 2012 18:05:53 -0700
       
       created mousePressedEvents() and se_balance_text() docstrings
       
       Diffstat:
         M lib/gui_lite.py                     |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py
       t@@ -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 = "<span style='font-size: 18pt'>%s</span> <span style='font-size: 10pt'>BTC</span> <span style='font-size: 10pt'>%s</span>" % (btc_balance, quote_text)