diff 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
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_group.py	Sat Jun 14 19:10:51 2014 +0200
+++ b/src/browser/sat_browser/contact_group.py	Sat Jun 14 19:20:27 2014 +0200
@@ -187,12 +187,12 @@
             contacts = self.all_contacts
         for contact_ in contacts:
             if sender.showAll:
-                self.contacts.getContactLabel(contact_).setVisible(True)
+                self.contacts.getContactBox(contact_).setVisible(True)
             else:
                 if contact_ in self.groups.remaining_list:
-                    self.contacts.getContactLabel(contact_).setVisible(True)
+                    self.contacts.getContactBox(contact_).setVisible(True)
                 else:
-                    self.contacts.getContactLabel(contact_).setVisible(False)
+                    self.contacts.getContactBox(contact_).setVisible(False)
 
     def __close(self):
         """Remove the widget from parent or close the popup."""