comparison frontends/src/primitivus/primitivus @ 1337:f29beedb33b0 frontends_multi_profiles

merged souliane changes
author Goffi <goffi@goffi.org>
date Mon, 23 Feb 2015 18:08:22 +0100
parents 2ecc07a8f91b 0f92b6a150ff
children a39d2db03c80
comparison
equal deleted inserted replaced
1336:2ecc07a8f91b 1337:f29beedb33b0
462 return self.main_widget 462 return self.main_widget
463 463
464 def addContactList(self, profile): 464 def addContactList(self, profile):
465 contact_list = ContactList(self, on_click=self.contactSelected, on_change=lambda w: self.redraw(), profile=profile) 465 contact_list = ContactList(self, on_click=self.contactSelected, on_change=lambda w: self.redraw(), profile=profile)
466 self.contact_lists_pile.contents.append((contact_list, ('weight', 1))) 466 self.contact_lists_pile.contents.append((contact_list, ('weight', 1)))
467 self.contact_lists[profile] = contact_list
468 return contact_list 467 return contact_list
469 468
470 def plugging_profiles(self): 469 def plugging_profiles(self):
471 self.loop.widget = self._buildMainWidget() 470 self.loop.widget = self._buildMainWidget()
472 self.redraw() 471 self.redraw()