Author: steve-e Date: 2008-07-07 00:55:42 +0200 (Mon, 07 Jul 2008) New Revision: 9895
Modified: trunk/src/roster_window.py Log: Redraw family after readding. See r9894
Modified: trunk/src/roster_window.py =================================================================== --- trunk/src/roster_window.py 2008-07-06 22:24:58 UTC (rev 9894) +++ trunk/src/roster_window.py 2008-07-06 22:55:42 UTC (rev 9895) @@ -710,10 +710,12 @@ # Remove contact before redrawing, otherwise the old # numbers will still be show gajim.contacts.remove_jid(account, jid, remove_meta=True) - family = gajim.contacts.get_metacontacts_family(account, jid) if family: # reshow the rest of the family - self._add_metacontact_family(family, account) + brothers = self._add_metacontact_family(family, account) + for c, acc in brothers: + self.draw_contact(c.jid, acc) + self.draw_avatar(c.jid, acc)
# Draw all groups of the contact for group in contact.get_shown_groups():