[api] use cw_property_defs instead of deprecated property_defs
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 23 Sep 2009 11:10:38 +0200
changeset 3407 da9cc8cc7c5f
parent 3406 e343f37f7013
child 3408 c92170fca813
[api] use cw_property_defs instead of deprecated property_defs
web/views/basecomponents.py
web/views/ibreadcrumbs.py
--- a/web/views/basecomponents.py	Wed Sep 23 11:05:14 2009 +0200
+++ b/web/views/basecomponents.py	Wed Sep 23 11:10:38 2009 +0200
@@ -220,7 +220,7 @@
     __select__ = yes()
 
     context = 'header'
-    property_defs = {
+    cw_property_defs = {
         _('visible'):  dict(type='Boolean', default=True,
                             help=_('display the pdf icon or not')),
     }
--- a/web/views/ibreadcrumbs.py	Wed Sep 23 11:05:14 2009 +0200
+++ b/web/views/ibreadcrumbs.py	Wed Sep 23 11:10:38 2009 +0200
@@ -23,7 +23,7 @@
     __regid__ = 'breadcrumbs'
     __select__ = one_line_rset() & implements(IBreadCrumbs)
 
-    property_defs = {
+    cw_property_defs = {
         _('visible'):  dict(type='Boolean', default=True,
                             help=_('display the component or not')),
         }