comparison src/browser/sat_browser/contact_list.py @ 1112:f287fc8bb31a

browser (contact list): renamed entityToShow to entityVisible following Quick Frontend change
author Goffi <goffi@goffi.org>
date Sun, 24 Jun 2018 22:21:25 +0200
parents f2170536ba23
children
comparison
equal deleted inserted replaced
1111:4d1c4bd4931a 1112:f287fc8bb31a
177 self._group_panel.add(group) 177 self._group_panel.add(group)
178 for group in removed_groups: 178 for group in removed_groups:
179 self._group_panel.remove(group) 179 self._group_panel.remove(group)
180 180
181 ### JIDS ### 181 ### JIDS ###
182 to_show = [jid_ for jid_ in self.contact_list.roster if self.contact_list.entityToShow(jid_) and jid_ != self.contact_list.whoami.bare] 182 to_show = [jid_ for jid_ in self.contact_list.roster if self.contact_list.entityVisible(jid_) and jid_ != self.contact_list.whoami.bare]
183 to_show.sort() 183 to_show.sort()
184 184
185 self._contacts_panel.setList(to_show) 185 self._contacts_panel.setList(to_show)
186 186
187 def onWindowResized(self, width, height): 187 def onWindowResized(self, width, height):