[CMF-checkins] SVN: CMF/trunk/CMFCore/PortalFolder.py - enabled 'Components' ZMI tab

Yvo Schubbe y.2007- at wcm-solutions.de
Thu Aug 2 14:34:04 EDT 2007


Log message for revision 78548:
  - enabled 'Components' ZMI tab

Changed:
  U   CMF/trunk/CMFCore/PortalFolder.py

-=-
Modified: CMF/trunk/CMFCore/PortalFolder.py
===================================================================
--- CMF/trunk/CMFCore/PortalFolder.py	2007-08-02 18:33:38 UTC (rev 78547)
+++ CMF/trunk/CMFCore/PortalFolder.py	2007-08-02 18:34:03 UTC (rev 78548)
@@ -59,8 +59,12 @@
 
     description = ''
 
-    manage_options = ( Folder.manage_options +
-                       CMFCatalogAware.manage_options )
+    manage_options = ( Folder.manage_options[:1]
+                     + ({'label': 'Components',
+                         'action': 'manage_components'},)
+                     + Folder.manage_options[1:]
+                     + CMFCatalogAware.manage_options
+                     )
 
     def __init__(self, id, title='', description=''):
         self.id = id



More information about the CMF-checkins mailing list