Mercurial > libervia-backend
comparison frontends/src/primitivus/contact_list.py @ 1342:e31a07a5614d frontends_multi_profiles
quick_frontends, primitivus (contact list): added nick observer + implemented onNickUpdate
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 24 Feb 2015 17:14:10 +0100 |
parents | 18cd46a264e9 |
children | 1679ac59f701 |
comparison
equal
deleted
inserted
replaced
1341:6dbeb2ef966c | 1342:e31a07a5614d |
---|---|
150 | 150 |
151 def onPresenceUpdate(self, entity, show, priority, statuses, profile): | 151 def onPresenceUpdate(self, entity, show, priority, statuses, profile): |
152 super(ContactList, self).onPresenceUpdate(entity, show, priority, statuses, profile) | 152 super(ContactList, self).onPresenceUpdate(entity, show, priority, statuses, profile) |
153 self.update() | 153 self.update() |
154 | 154 |
155 def onNickUpdate(self, entity, new_nick, profile): | |
156 self.update() | |
157 | |
155 # Methods to build the widget | 158 # Methods to build the widget |
156 | 159 |
157 def _buildEntityWidget(self, entity, keys=None, use_bare_jid=False, with_alert=True, with_show_attr=True, markup_prepend=None, markup_append = None): | 160 def _buildEntityWidget(self, entity, keys=None, use_bare_jid=False, with_alert=True, with_show_attr=True, markup_prepend=None, markup_append = None): |
158 """Build one contact markup data | 161 """Build one contact markup data |
159 | 162 |