[Zope3-checkins] CVS: Zope3/src/zope/app/browser/catalog - configure.zcml:1.13

Anthony Baxter anthony at interlink.com.au
Sun Feb 8 20:18:39 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/catalog
In directory cvs.zope.org:/tmp/cvs-serv7251/src/zope/app/browser/catalog

Modified Files:
	configure.zcml 
Log Message:
menuItem is dead. long live addMenuItem


=== Zope3/src/zope/app/browser/catalog/configure.zcml 1.12 => 1.13 ===
--- Zope3/src/zope/app/browser/catalog/configure.zcml:1.12	Sat Feb  7 23:59:20 2004
+++ Zope3/src/zope/app/browser/catalog/configure.zcml	Sun Feb  8 20:18:39 2004
@@ -3,33 +3,24 @@
    xmlns="http://namespaces.zope.org/browser">
 
   <!-- Allow a catalog to be added to content space -->
-  <menuItem 
-      menu="add_content"
-      for="zope.app.interfaces.container.IAdding"
-      title="Catalog"
-      action="zope.app.catalog"
-      description="Catalog" />
-  
+  <addMenuItem
+    title="Catalog"
+    description="A Catalog allows indexing and searching of objects"
+    class="zope.app.catalog.catalog.Catalog"
+    permission="zope.ManageContent"
+  />
+
   <icon 
       name="zmi_icon" 
       for="zope.app.interfaces.catalog.catalog.ICatalog"
       file="catalog_icon.gif"/>
   
-  <menuItem
-      menu="add_component"
-      action="zope.app.catalogutility"
-      title="Catalog"
-      for="zope.app.interfaces.container.IAdding"
-      description="A Catalog allows indexing and searching of objects"
-      permission="zope.ManageServices" />
-
-  <menuItem
-      menu="add_utility"
-      action="zope.app.catalogutility"
-      title="Catalog"
-      for="zope.app.interfaces.container.IAdding"
-      description="A Catalog allows indexing and searching of objects"
-      permission="zope.ManageServices" />
+  <addMenuItem
+    title="Site Catalog"
+    description="A Catalog allows indexing and searching of objects"
+    class="zope.app.catalog.catalog.CatalogUtility"
+    permission="zope.ManageServices"
+  />
 
   <!-- Standard container 'contents' tab -->
   <page




More information about the Zope3-Checkins mailing list