From 6c328e2a333fd1721ff47f19967c48a9dc34c06e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 25 Jun 2007 17:07:17 +0000 Subject: [PATCH] redraw acount row to have correct online / total number of contacts when we minimize / open / disconnect from a groupchat. fixes #3247 --- src/roster_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 8209c4ce0..d995a3139 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -439,6 +439,7 @@ class RosterWindow: self.add_contact_to_roster(jid, account) for group in contact.groups: self.draw_group(group, account) + self.draw_account(account) return contact def get_self_contact_iter(self, account): @@ -1845,6 +1846,7 @@ class RosterWindow: self.remove_contact(contact, account) gajim.contacts.remove_contact(account, contact) self.draw_group(_('Groupchats'), account) + self.draw_account(account) def on_send_single_message_menuitem_activate(self, widget, account, contact = None): @@ -2531,6 +2533,7 @@ class RosterWindow: self.remove_contact(contact, account) gajim.contacts.remove_contact(account, contact) self.draw_group(_('Groupchats'), account) + self.draw_account(account) def make_group_menu(self, event, iter): '''Make group's popup menu'''