the on_yes handler of YesNoDialog don't take any argument. fixes #3712

This commit is contained in:
Yann Leboulanger 2008-02-01 07:56:16 +00:00
parent 7e88b7608a
commit dbaac78ef5
1 changed files with 1 additions and 1 deletions

View File

@ -2248,7 +2248,7 @@ class Interface:
def handle_event_fingerprint_error(self, account, data): def handle_event_fingerprint_error(self, account, data):
# ('FINGERPRINT_ERROR', account, (fingerprint,)) # ('FINGERPRINT_ERROR', account, (fingerprint,))
def on_yes(widget): def on_yes():
dialog.destroy() dialog.destroy()
gajim.config.set_per('accounts', account, 'ssl_fingerprint_sha1', gajim.config.set_per('accounts', account, 'ssl_fingerprint_sha1',
data[0]) data[0])