[Alex V. Myltsev] timeout_add -> timeout_add_seconds to forget GPG passphrase.

This commit is contained in:
Yann Leboulanger 2008-09-08 11:55:51 +00:00
parent b004a32df9
commit 140e922733
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ class PassphraseRequest:
self.passphrase = passphrase
self.completed = True
if passphrase is not None:
gobject.timeout_add(30000, gajim.interface.forget_gpg_passphrase,
gobject.timeout_add_seconds(30, gajim.interface.forget_gpg_passphrase,
self.keyid)
for (account, cb) in self.callbacks:
self.run_callback(account, cb)