Mercurial > libervia-web
comparison browser_side/dialog.py @ 54:f25c4077f6b9
addind contact + subscription management + misc
- removed bad html_sanitize (not needed in Label !)
- added isContactInRoster method in ContactPanel
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 28 May 2011 20:18:14 +0200 |
parents | 4419ef07bb2b |
children | d5266c41ca24 |
comparison
equal
deleted
inserted
replaced
53:dc7861390f10 | 54:f25c4077f6b9 |
---|---|
206 button_panel.add(Button("Cancel", self.onCancel)) | 206 button_panel.add(Button("Cancel", self.onCancel)) |
207 main_panel.add(button_panel) | 207 main_panel.add(button_panel) |
208 | 208 |
209 self.setWidget(main_panel) | 209 self.setWidget(main_panel) |
210 | 210 |
211 def getSelectedGroups(self): | |
212 """Return a list of selected groups""" | |
213 return self.list_box.getSelectedValues() | |
214 | |
211 def setAvailableGroups(self, groups): | 215 def setAvailableGroups(self, groups): |
212 _groups = list(set(groups)) | 216 _groups = list(set(groups)) |
213 _groups.sort() | 217 _groups.sort() |
214 self.list_box.clear() | 218 self.list_box.clear() |
215 for group in _groups: | 219 for group in _groups: |