Mercurial > libervia-web
diff src/browser/sat_browser/main_panel.py @ 690:76a67d04c63e
browser_side: improve comments for menus-related methods
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 09 Apr 2015 11:40:53 +0200 |
parents | 9877607c719a |
children | c2f22ca12e23 |
line wrap: on
line diff
--- a/src/browser/sat_browser/main_panel.py Thu Apr 02 00:36:08 2015 +0200 +++ b/src/browser/sat_browser/main_panel.py Thu Apr 09 11:40:53 2015 +0200 @@ -182,8 +182,13 @@ self.host.bridge.call('setStatus', None, presence, self.parent_panel.status_panel.status) @classmethod - def getCategoryHTML(cls, menu_name_i18n, type_): - return menu_name_i18n + def getCategoryHTML(cls, category): + """Build the html to be used for displaying a category item. + + @param category (quick_menus.MenuCategory): category to add + @return unicode: HTML to display + """ + return category class PresenceStatusPanel(HorizontalPanel, ClickHandler):