# HG changeset patch # User Goffi # Date 1282118858 -28800 # Node ID 8ea1510d474b1ec1ff31f6fbbd01cff5d6d1bdc4 # Parent 9ee4a1d0d7fb19f9c0a9ab582460c424c26085e7 Primitivus: fixed contact list clear diff -r 9ee4a1d0d7fb -r 8ea1510d474b frontends/primitivus/contact_list.py --- a/frontends/primitivus/contact_list.py Wed Aug 18 15:57:26 2010 +0800 +++ b/frontends/primitivus/contact_list.py Wed Aug 18 16:07:38 2010 +0800 @@ -133,6 +133,9 @@ """clear all the contact list""" self.groups={} self.selected = None + self.unselectAll() + self.frame.body = self.__buildList() + self.host.redraw() def replace(self, jid, groups=[None]): """add a contact to the list if doesn't exist, else update it"""