# HG changeset patch # User Adrien Di Mascio # Date 1253697038 -7200 # Node ID da9cc8cc7c5f4742b31cf3f7684d72dad8339fd4 # Parent e343f37f701308dec72a688a9d27d3f403d73a4c [api] use cw_property_defs instead of deprecated property_defs diff -r e343f37f7013 -r da9cc8cc7c5f web/views/basecomponents.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')), } diff -r e343f37f7013 -r da9cc8cc7c5f web/views/ibreadcrumbs.py --- 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')), }