changeset 81a9c1912228 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=81a9c1912228 description: When there is an error connecting to an account, close only this account's pass dialog. Fixes #5586
diffstat:
src/gui_interface.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r 744b23bdb439 -r 81a9c1912228 src/gui_interface.py --- a/src/gui_interface.py Wed Feb 03 21:16:38 2010 +0100 +++ b/src/gui_interface.py Wed Feb 03 22:13:52 2010 +0100 @@ -220,8 +220,7 @@ for request in self.gpg_passphrase.values(): if request: request.interrupt() - # .keys() is needed because dict changes during loop - for account in self.pass_dialog.keys(): + if account in self.pass_dialog: self.pass_dialog[account].window.destroy() if show == 'offline': # sensitivity for this menuitem