inform the user when his GPG passphrase is wrong
This commit is contained in:
parent
ac4a2c947c
commit
d284a47433
|
@ -2225,7 +2225,6 @@ class plugin:
|
||||||
warning_Window(_("You are now authorized by %s") % jid)
|
warning_Window(_("You are now authorized by %s") % jid)
|
||||||
|
|
||||||
def handle_event_unsubscribed(self, account, jid):
|
def handle_event_unsubscribed(self, account, jid):
|
||||||
#TODO: change icon
|
|
||||||
warning_Window(_("You are now unsubscribed by %s") % jid)
|
warning_Window(_("You are now unsubscribed by %s") % jid)
|
||||||
|
|
||||||
def handle_event_agents(self, account, agents):
|
def handle_event_agents(self, account, agents):
|
||||||
|
@ -2322,7 +2321,7 @@ class plugin:
|
||||||
self.systray.add_jid(jid, account)
|
self.systray.add_jid(jid, account)
|
||||||
|
|
||||||
def handle_event_bad_passphrase(self, account, array):
|
def handle_event_bad_passphrase(self, account, array):
|
||||||
pass
|
warning_Window(_"Your GPG passphrase is wrong, so you are connected without your GPG key.")
|
||||||
|
|
||||||
def handle_event_gpg_secrete_keys(self, account, keys):
|
def handle_event_gpg_secrete_keys(self, account, keys):
|
||||||
keys['None'] = 'None'
|
keys['None'] = 'None'
|
||||||
|
|
Loading…
Reference in New Issue