diff frontends/quick_frontend/quick_contact_management.py @ 52:6455fb62ff83

Connection/disconnection signals - wix, sortilege: management of this new signals /!\ sortilege is bugged, the contact list window is not updated correctly
author Goffi <goffi@goffi.org>
date Thu, 07 Jan 2010 01:55:30 +1100
parents 8c67ea98ab91
children 2ce9e350cdf9
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_contact_management.py	Thu Jan 07 00:17:27 2010 +1100
+++ b/frontends/quick_frontend/quick_contact_management.py	Thu Jan 07 01:55:30 2010 +1100
@@ -31,6 +31,10 @@
     def __init__(self):
         self.__contactlist = {}
 
+    def clear(self):
+        """Clear all the contact list"""
+        self.__contactlist.clear()
+
     def add(self, entity):
         """Add contact to the list, update resources"""
         if not self.__contactlist.has_key(entity.short):