electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit ca4473c6201390a99a72d473c8f368b2b507d501
parent 4c1bc141044edfb95b9f06503b43019d5b502d95
Author: Amir Taaki <genjix@riseup.net>
Date:   Wed, 29 Aug 2012 21:27:22 +0100

If wallet does not exist, then it does not even attempt to read the config (read returns on IOError exception). Ergo a new wallet will not ever set the theme name and it will stay as None. We change this to a sensible default so new wallets have a themed GUI.

Diffstat:
Mlib/wallet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -290,7 +290,7 @@ class Wallet: self.num_zeros = 0 self.master_public_key = '' self.conversion_currency = None - self.theme = None + self.theme = "Cleanlook" # saved fields self.use_encryption = False