diff src/browser/sat_browser/contact_panel.py @ 787:b2a75a103aac

browser side (contact list): fixed a traceback on mouse enter/leave + bad attribute name
author Goffi <goffi@goffi.org>
date Wed, 02 Dec 2015 11:15:55 +0100
parents fc941d0d97f8
children f8a7a046ff9c
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_panel.py	Tue Dec 01 23:57:28 2015 +0100
+++ b/src/browser/sat_browser/contact_panel.py	Wed Dec 02 11:15:55 2015 +0100
@@ -81,8 +81,14 @@
 
         @return (list[jid.JID]): full jids or bare jids if self.merge_resources is True
         """
-        return self.contacts.keys()
+        return self._contacts.keys()
 
+    def getBoxes(self):
+        """Return ContactBox present in the panel
+
+        @return (list[ContactBox]): boxes of the contacts
+        """
+        return self._contacts.itervalues()
 
     def clear(self):
         """Clear all contacts."""