openalias: freeze and color payto_e
This commit is contained in:
parent
bafc9a5842
commit
8cc21a6a00
|
@ -114,6 +114,12 @@ class Plugin(BasePlugin):
|
||||||
if self.config.get('openalias_autoadd') == 'checked':
|
if self.config.get('openalias_autoadd') == 'checked':
|
||||||
self.win.wallet.add_contact(address, name)
|
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
|
@hook
|
||||||
def before_send(self):
|
def before_send(self):
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue