tcreated several more docstrings in miniActuator - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit b027678d0e95d0a048fd366b8eb9e6c9c3ab7891 DIR parent 69110160aca252006d920effa7d1463f8daabc77 HTML Author: Jimbo77 <onlineregular@gmail.com> Date: Tue, 21 Aug 2012 23:34:12 -0700 created several more docstrings in miniActuator Diffstat: M lib/gui_lite.py | 9 +++++++++ 1 file changed, 9 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/gui_lite.py b/lib/gui_lite.py t@@ -503,15 +503,20 @@ class MiniActuator: qApp.setStyleSheet(style_file.read()) def theme_names(self): + """Sort themes.""" return sorted(self.themes.keys()) def selected_theme(self): + """Select theme.""" return self.theme_name def change_theme(self, theme_name): + """Change theme.""" self.wallet.theme = self.theme_name = theme_name self.load_theme() def set_configured_currency(self, set_quote_currency): + """Set the inital fiat currency conversion country (USD/EUR/GBP) in + the GUI to what it was set to in the wallet.""" currency = self.wallet.conversion_currency # currency can be none when Electrum is used for the first # time and no setting has been created yet. t@@ -519,9 +524,11 @@ class MiniActuator: set_quote_currency(currency) def set_config_currency(self, conversion_currency): + """Change the fiat currency conversion country.""" self.wallet.conversion_currency = conversion_currency def copy_address(self, receive_popup): + """Copy the wallet addresses into the client.""" addrs = [addr for addr in self.wallet.all_addresses() if not self.wallet.is_change(addr)] # Select most recent addresses from gap limit t@@ -532,6 +539,7 @@ class MiniActuator: receive_popup.popup() def send(self, address, amount, parent_window): + """Send bitcoins to the target address.""" dest_address = self.fetch_destination(address) if dest_address is None or not self.wallet.is_valid(dest_address): t@@ -594,6 +602,7 @@ class MiniActuator: return recipient def is_valid(self, address): + """Check if bitcoin address is valid.""" return self.wallet.is_valid(address) def acceptbit(self, currency):