common/mixins.py
changeset 361 5cd8bc047b52
parent 173 a4a9e1a7e40f
child 441 49e4717e2371
--- a/common/mixins.py	Thu Jan 08 09:55:27 2009 +0100
+++ b/common/mixins.py	Thu Jan 08 09:55:38 2009 +0100
@@ -9,7 +9,7 @@
 
 from logilab.common.decorators import cached
 
-from cubicweb.common.selectors import interface_selector
+from cubicweb.common.selectors import implement_interface
 from cubicweb.interfaces import IWorkflowable, IEmailable, ITree
 
 
@@ -312,7 +312,7 @@
     """a recursive tree view"""
     id = 'tree'
     item_vid = 'treeitem'
-    __selectors__ = (interface_selector,)
+    __selectors__ = (implement_interface,)
     accepts_interfaces = (ITree,)
 
     def call(self, done=None, **kwargs):