From 19cb8269c0a086792b3d948ee269aa65ae64f74b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 11 Apr 2006 18:54:28 +0000 Subject: [PATCH] resset connection type when we go offline --- src/roster_window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index e9b110365..9b79bed91 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2039,7 +2039,9 @@ _('If "%s" accepts this request you will know his or her status.') % jid) model[accountIter][0] = self.jabber_state_images['16'][status] if status == 'offline': if accountIter: - model[accountIter][6] = None + model[accountIter][C_SECPIXBUF] = None + if gajim.con_types.has_key(account): + gajim.con_types[account] = None for jid in gajim.contacts.get_jid_list(account): lcontact = gajim.contacts.get_contact(account, jid) lcontact_copy = []