electrum

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

commit c3991091def722d18e05675d14a6e7edd7f57e48
parent d0e2f0a5db4404202538c5799700bb895dad778a
Author: ThomasV <thomasv@gitorious>
Date:   Fri,  7 Aug 2015 20:06:31 +0200

move init_qt hook

Diffstat:
Mlib/plugins.py | 2--
Mplugins/audio_modem.py | 4++++
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/lib/plugins.py b/lib/plugins.py @@ -168,8 +168,6 @@ class BasePlugin: self.set_enabled(False) return True - def init_qt(self, gui): pass - @hook def load_wallet(self, wallet, window): pass diff --git a/plugins/audio_modem.py b/plugins/audio_modem.py @@ -35,6 +35,10 @@ class Plugin(BasePlugin): 'Linux': 'libportaudio.so' }[platform.system()] + @hook + def init_qt(self, gui): + pass + def is_available(self): return amodem is not None