diff frontends/primitivus/contact_list.py @ 168:a2655a0a4eac

Primitivus: 2 bugs fixes - fixed bad focus when using removeWindow - UnselectAll was incomplete in contactList
author Goffi <goffi@goffi.org>
date Mon, 09 Aug 2010 22:06:56 +0800
parents 5d7a011d78ba
children 8ea1510d474b
line wrap: on
line diff
--- a/frontends/primitivus/contact_list.py	Mon Aug 09 21:58:28 2010 +0800
+++ b/frontends/primitivus/contact_list.py	Mon Aug 09 22:06:56 2010 +0800
@@ -119,6 +119,7 @@
 
     def unselectAll(self):
         """Unselect all contacts"""
+        self.selected = None
         for widget in self.frame.body.body:
             if widget.__class__ == custom_widgets.SelectableText:
                 widget.setState(False, invisible=True)