changeset 184:8ea1510d474b

Primitivus: fixed contact list clear
author Goffi <goffi@goffi.org>
date Wed, 18 Aug 2010 16:07:38 +0800
parents 9ee4a1d0d7fb
children fd2db62ea5eb
files frontends/primitivus/contact_list.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"""