comparison src/browser/sat_browser/contact_group.py @ 691:16079280a39e

browser_side: minor fixes for ContactMenuBar and ContactGroupManager
author souliane <souliane@mailoo.org>
date Thu, 09 Apr 2015 11:46:45 +0200
parents 3845a086f0b3
children fe3c2357a8c9
comparison
equal deleted inserted replaced
690:76a67d04c63e 691:16079280a39e
186 """Add the contact list to the DockPanel.""" 186 """Add the contact list to the DockPanel."""
187 self.toggle = Button("", self.toggleContacts) 187 self.toggle = Button("", self.toggleContacts)
188 self.toggle.addStyleName("toggleAssignedContacts") 188 self.toggle.addStyleName("toggleAssignedContacts")
189 self.contacts = contact_panel.ContactsPanel(self.host) 189 self.contacts = contact_panel.ContactsPanel(self.host)
190 for contact in self.all_contacts: 190 for contact in self.all_contacts:
191 self.contacts.add(contact) 191 self.contacts.updateContactBox(contact)
192 panel = VerticalPanel() 192 panel = VerticalPanel()
193 panel.add(self.toggle) 193 panel.add(self.toggle)
194 panel.add(self.contacts) 194 panel.add(self.contacts)
195 return panel 195 return panel
196 196