Mercurial > libervia-backend
diff frontends/src/primitivus/contact_list.py @ 1339:18cd46a264e9 frontends_multi_profiles
quick frontends, primitivus: fixed listener calls (kwargs where forgotten) + fixed presence listener + renamed updatePresence to onPresenceUpdate for consistency with oter listeners
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Feb 2015 16:52:44 +0100 |
parents | faa1129559b8 |
children | e31a07a5614d |
line wrap: on
line diff
--- a/frontends/src/primitivus/contact_list.py Tue Feb 24 14:40:19 2015 +0100 +++ b/frontends/src/primitivus/contact_list.py Tue Feb 24 16:52:44 2015 +0100 @@ -148,8 +148,8 @@ self.update() self._emit('click', entity) - def updatePresence(self, entity, show, priority, statuses): - super(ContactList, self).updatePresence(entity, show, priority, statuses) + def onPresenceUpdate(self, entity, show, priority, statuses, profile): + super(ContactList, self).onPresenceUpdate(entity, show, priority, statuses, profile) self.update() # Methods to build the widget