web/views/tabs.py
branchstable
changeset 4602 fe5aad04f08b
parent 4601 0f65c40b56b5
child 4727 946a9db5405d
--- a/web/views/tabs.py	Wed Feb 17 09:12:42 2010 +0100
+++ b/web/views/tabs.py	Wed Feb 17 09:13:00 2010 +0100
@@ -8,6 +8,7 @@
 
 __docformat__ = "restructuredtext en"
 
+from logilab.common.deprecation import class_renamed
 from logilab.mtconverter import xml_escape
 
 from cubicweb import NoSelectableObject, role
@@ -190,7 +191,8 @@
         self.render_entity_toolbox(entity)
         self.render_entity_title(entity)
         self.render_tabs(self.tabs, self.default_tab, entity)
-TabedPrimaryView = TabbedPrimaryView # XXX deprecate that typo!
+
+TabedPrimaryView = class_renamed('TabedPrimaryView', TabbedPrimaryView)
 
 class PrimaryTab(primary.PrimaryView):
     __regid__ = 'main_tab'