comparison 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
comparison
equal deleted inserted replaced
786:f0ad3f62bae2 787:b2a75a103aac
79 def getJids(self): 79 def getJids(self):
80 """Return jids present in the panel 80 """Return jids present in the panel
81 81
82 @return (list[jid.JID]): full jids or bare jids if self.merge_resources is True 82 @return (list[jid.JID]): full jids or bare jids if self.merge_resources is True
83 """ 83 """
84 return self.contacts.keys() 84 return self._contacts.keys()
85 85
86 def getBoxes(self):
87 """Return ContactBox present in the panel
88
89 @return (list[ContactBox]): boxes of the contacts
90 """
91 return self._contacts.itervalues()
86 92
87 def clear(self): 93 def clear(self):
88 """Clear all contacts.""" 94 """Clear all contacts."""
89 self._contacts.clear() 95 self._contacts.clear()
90 VerticalPanel.clear(self.panel) 96 VerticalPanel.clear(self.panel)