web/action.py
changeset 5246 3246b1f88a18
parent 4719 aaed3f813ef8
child 5423 e15abfdcce38
--- a/web/action.py	Wed Apr 14 10:29:38 2010 +0200
+++ b/web/action.py	Wed Apr 14 11:26:36 2010 +0200
@@ -20,18 +20,7 @@
     """
     __registry__ = 'actions'
     __select__ = match_search_state('normal')
-
-    cw_property_defs = {
-        'visible':  dict(type='Boolean', default=True,
-                         help=_('display the action or not')),
-        'order':    dict(type='Int', default=99,
-                         help=_('display order of the action')),
-        'category': dict(type='String', default='moreactions',
-                         vocabulary=('mainactions', 'moreactions', 'addrelated',
-                                     'useractions', 'siteactions', 'hidden'),
-                         help=_('context where this component should be displayed')),
-    }
-    site_wide = True # don't want user to configurate actions
+    order = 99
     category = 'moreactions'
     # actions in category 'moreactions' can specify a sub-menu in which they should be filed
     submenu = None