Mercurial > libervia-web
comparison src/browser/sat_browser/contact_group.py @ 480:50b286866739
browser side: display avatars in the contact panel
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 14 Jun 2014 19:20:27 +0200 |
parents | 97c72fe4a5f2 |
children | a5019e62c3e9 |
comparison
equal
deleted
inserted
replaced
479:c21ea1fe3593 | 480:50b286866739 |
---|---|
185 contacts.remove(contact_) | 185 contacts.remove(contact_) |
186 else: | 186 else: |
187 contacts = self.all_contacts | 187 contacts = self.all_contacts |
188 for contact_ in contacts: | 188 for contact_ in contacts: |
189 if sender.showAll: | 189 if sender.showAll: |
190 self.contacts.getContactLabel(contact_).setVisible(True) | 190 self.contacts.getContactBox(contact_).setVisible(True) |
191 else: | 191 else: |
192 if contact_ in self.groups.remaining_list: | 192 if contact_ in self.groups.remaining_list: |
193 self.contacts.getContactLabel(contact_).setVisible(True) | 193 self.contacts.getContactBox(contact_).setVisible(True) |
194 else: | 194 else: |
195 self.contacts.getContactLabel(contact_).setVisible(False) | 195 self.contacts.getContactBox(contact_).setVisible(False) |
196 | 196 |
197 def __close(self): | 197 def __close(self): |
198 """Remove the widget from parent or close the popup.""" | 198 """Remove the widget from parent or close the popup.""" |
199 if isinstance(self._parent, DialogBox): | 199 if isinstance(self._parent, DialogBox): |
200 self._parent.hide() | 200 self._parent.hide() |