diff src/browser/sat_browser/base_widget.py @ 574:b07f0fe2763a

browser_side: safer attributes handling in getOrCreateLiberviaWidget + use it to create MUC panels
author souliane <souliane@mailoo.org>
date Sat, 18 Oct 2014 13:16:56 +0200
parents 77372641e05d
children a5019e62c3e9
line wrap: on
line diff
--- a/src/browser/sat_browser/base_widget.py	Fri Oct 17 13:26:33 2014 +0200
+++ b/src/browser/sat_browser/base_widget.py	Sat Oct 18 13:16:56 2014 +0200
@@ -455,7 +455,7 @@
         # the event will not propagate to children
         VerticalPanel.doAttachChildren(self)
 
-    def matchEntity(self, entity):
+    def matchEntity(self, item):
         """Check if this widget corresponds to the given entity.
 
         This method should be overwritten by child classes.