Mercurial > libervia-web
comparison src/browser/sat_browser/xmlui.py @ 779:fc941d0d97f8
browser_side: fixed ContactsPanel scrolling
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 30 Nov 2015 21:52:41 +0100 |
parents | afbe061b2d66 |
children | f3cd261ea12f |
comparison
equal
deleted
inserted
replaced
778:31c682149d52 | 779:fc941d0d97f8 |
---|---|
232 | 232 |
233 class JidsListWidget(contact_panel.ContactsPanel, xmlui.JidsListWidget): | 233 class JidsListWidget(contact_panel.ContactsPanel, xmlui.JidsListWidget): |
234 | 234 |
235 def __init__(self, xmlui_main, xmlui_parent, jids, styles): | 235 def __init__(self, xmlui_main, xmlui_parent, jids, styles): |
236 contact_panel.ContactsPanel.__init__(self, xmlui_main.host, merge_resources=False) | 236 contact_panel.ContactsPanel.__init__(self, xmlui_main.host, merge_resources=False) |
237 self.addStyleName("xmlui-JidsListWidget") | |
237 self.setList([jid.JID(jid_) for jid_ in jids]) | 238 self.setList([jid.JID(jid_) for jid_ in jids]) |
238 | 239 |
239 def _xmluiGetSelectedValues(self): | 240 def _xmluiGetSelectedValues(self): |
240 # XXX: there is not selection in this list, so we return all non empty values | 241 # XXX: there is not selection in this list, so we return all non empty values |
241 return self.getJids() | 242 return self.getJids() |