mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
created set_balance() docstring
This commit is contained in:
parent
62ec74c010
commit
e34243d778
1 changed files with 3 additions and 1 deletions
|
@ -275,6 +275,7 @@ class MiniWindow(QDialog):
|
||||||
self.amount_input_changed(self.amount_input.text())
|
self.amount_input_changed(self.amount_input.text())
|
||||||
|
|
||||||
def set_balances(self, btc_balance):
|
def set_balances(self, btc_balance):
|
||||||
|
"""Set the bitcoin balance and update the amount label accordingly."""
|
||||||
self.btc_balance = btc_balance
|
self.btc_balance = btc_balance
|
||||||
quote_text = self.create_quote_text(btc_balance)
|
quote_text = self.create_quote_text(btc_balance)
|
||||||
if quote_text:
|
if quote_text:
|
||||||
|
@ -481,7 +482,7 @@ class ReceivePopup(QDialog):
|
||||||
self.show()
|
self.show()
|
||||||
|
|
||||||
class MiniActuator:
|
class MiniActuator:
|
||||||
"""Initialize the definitions for all the menubar functions and
|
"""Initialize the definitions relating to themes and
|
||||||
sending/recieving bitcoins.
|
sending/recieving bitcoins.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -506,6 +507,7 @@ class MiniActuator:
|
||||||
def theme_names(self):
|
def theme_names(self):
|
||||||
"""Sort themes."""
|
"""Sort themes."""
|
||||||
return sorted(self.themes.keys())
|
return sorted(self.themes.keys())
|
||||||
|
|
||||||
def selected_theme(self):
|
def selected_theme(self):
|
||||||
"""Select theme."""
|
"""Select theme."""
|
||||||
return self.theme_name
|
return self.theme_name
|
||||||
|
|
Loading…
Add table
Reference in a new issue