Mercurial > libervia-web
diff src/browser/sat_browser/contact_list.py @ 754:d3fa1e8904cf
browser_side: display the number of alerts for each contact and not only a symbol (*) + favicon displays the total number of waiting messages
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 24 Nov 2015 13:33:19 +0100 |
parents | 0d5889b9313c |
children | dd70db1c48dc |
line wrap: on
line diff
--- a/src/browser/sat_browser/contact_list.py Tue Nov 24 11:00:26 2015 +0100 +++ b/src/browser/sat_browser/contact_list.py Tue Nov 24 13:33:19 2015 +0100 @@ -129,7 +129,7 @@ def on_click(contact_jid): self.host.displayWidget(chat.Chat, contact_jid, type_=C.CHAT_ONE2ONE) - self.removeAlert(contact_jid, True) + self.removeAlerts(contact_jid, True) self._contacts_panel = contact_panel.ContactsPanel(host, contacts_click=on_click, contacts_menus=(C.MENU_JID_CONTEXT, C.MENU_ROSTER_JID_CONTEXT)) self._contacts_panel.setStyleName('contactPanel') # FIXME: style doesn't exists !