commit 8cc21a6a00feaeab2c9d57d0b8e0b4858e612936
parent bafc9a584225c9e18a67aa1ddd1f14673855c383
Author: ThomasV <thomasv@gitorious>
Date: Tue, 31 Mar 2015 09:37:09 +0200
openalias: freeze and color payto_e
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/plugins/openalias.py b/plugins/openalias.py
@@ -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):
'''