comparison browser_side/list_manager.py @ 279:2d6bd975a72d

browser_side: set your own presence status and display those of others
author souliane <souliane@mailoo.org>
date Sat, 23 Nov 2013 14:46:03 +0100
parents d3c734669577
children 0b7934e75e76
comparison
equal deleted inserted replaced
278:4517978a2e7e 279:2d6bd975a72d
234 """@param: target_drop_cell: the panel where something has been dropped.""" 234 """@param: target_drop_cell: the panel where something has been dropped."""
235 self.target_drop_cell = target_drop_cell 235 self.target_drop_cell = target_drop_cell
236 236
237 def registerPopupMenuPanel(self, entries, hide, callback): 237 def registerPopupMenuPanel(self, entries, hide, callback):
238 "Register a popup menu panel that will be bound to all contact keys elements." 238 "Register a popup menu panel that will be bound to all contact keys elements."
239 self.popup_menu = panels.PopupMenuPanel(entries=entries, hide=hide, callback=callback, item_style=self.style["popupMenuItem"]) 239 self.popup_menu = panels.PopupMenuPanel(entries=entries, hide=hide, callback=callback, style={"item": self.style["popupMenuItem"]})
240 240
241 241
242 class DragAutoCompleteTextBox(AutoCompleteTextBox, DragWidget, MouseHandler, FocusHandler): 242 class DragAutoCompleteTextBox(AutoCompleteTextBox, DragWidget, MouseHandler, FocusHandler):
243 """A draggable AutoCompleteTextBox which is used for representing a contact. 243 """A draggable AutoCompleteTextBox which is used for representing a contact.
244 This class is NOT generic because of the onDragEnd method which call methods 244 This class is NOT generic because of the onDragEnd method which call methods