topenalias: freeze and color payto_e - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8cc21a6a00feaeab2c9d57d0b8e0b4858e612936 DIR parent bafc9a584225c9e18a67aa1ddd1f14673855c383 HTML Author: ThomasV <thomasv@gitorious> Date: Tue, 31 Mar 2015 09:37:09 +0200 openalias: freeze and color payto_e Diffstat: M plugins/openalias.py | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) --- DIR diff --git a/plugins/openalias.py b/plugins/openalias.py t@@ -114,6 +114,12 @@ class Plugin(BasePlugin): if self.config.get('openalias_autoadd') == 'checked': self.win.wallet.add_contact(address, name) + self.win.payto_e.setFrozen(True) + if self.validate_dnssec(url): + self.win.payto_e.setGreen() + else: + self.win.payto_e.setExpired() + @hook def before_send(self): '''