comparison src/cagou/plugins/plugin_wid_contact_list.py @ 17:5c9feaa060a5

contact list: added call to the new postInit method
author Goffi <goffi@goffi.org>
date Sun, 24 Jul 2016 22:27:24 +0200
parents ba14b596b90e
children 74117b733bac
comparison
equal deleted inserted replaced
16:ba14b596b90e 17:5c9feaa060a5
60 args_converter=self.contactDataConverter, 60 args_converter=self.contactDataConverter,
61 selection_mode='multiple', 61 selection_mode='multiple',
62 allow_empty_selection=True, 62 allow_empty_selection=True,
63 ) 63 )
64 self.add_widget(ListView(adapter=self.adapter)) 64 self.add_widget(ListView(adapter=self.adapter))
65 self.postInit()
65 self.update() 66 self.update()
66 67
67 def contactDataConverter(self, idx, bare_jid): 68 def contactDataConverter(self, idx, bare_jid):
68 return {"jid": bare_jid, "data": self._items_cache[bare_jid]} 69 return {"jid": bare_jid, "data": self._items_cache[bare_jid]}
69 70