diff src/browser/libervia_main.py @ 687:3845a086f0b3

browser_side: update ContactList, Chat, ContactsPanel, ContactBox, ContactLabel to update the display using listeners as it is done in quick_frontend: - Chat uses presence and avatar listener, remove unecessary methods for MUC and contact states - contact list doesn't add unecessary ContactBox (e.g for MUC bare entities) - nick, message alerts are handled directly in ContactLabel
author souliane <souliane@mailoo.org>
date Mon, 23 Mar 2015 09:35:46 +0100
parents 90a5a5af2550
children 7a9c7b9f6a28
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Fri Mar 27 00:15:42 2015 +0100
+++ b/src/browser/libervia_main.py	Mon Mar 23 09:35:46 2015 +0100
@@ -943,7 +943,7 @@
             _dialog.show()
 
     def _contactDeletedCb(self, entity):
-        self.contact_panel.removeContact(entity)
+        self.contact_panel.removeContactBox(entity)
 
     def _newContactCb(self, contact_jid, attributes, groups):
         self.contact_panel.updateContact(contact_jid, attributes, groups)