[Zope3-checkins] CVS: Zope3/src/zope/app/browser/rdb - gadflyda.zcml:1.5

Anthony Baxter anthony at interlink.com.au
Sun Feb 8 20:19:38 EST 2004


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

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


=== Zope3/src/zope/app/browser/rdb/gadflyda.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/rdb/gadflyda.zcml:1.4	Tue Dec 23 10:35:19 2003
+++ Zope3/src/zope/app/browser/rdb/gadflyda.zcml	Sun Feb  8 20:19:37 2004
@@ -12,20 +12,11 @@
       permission="zope.ManageContent"
       usage="addingdialog" />
 
-  <!-- Menu entry for "add utility" menu -->
-  <menuItem
-      for="zope.app.interfaces.container.IAdding"
-      menu="add_utility"
-      action="AddGadflyDA"
-      title="Gadfly DA" 
-      description="A DA for the built-in 100% Pure Python Gadfly Database" />
-
-  <!-- Menu entry for "add connection" menu -->
-  <menuItem
-      for="zope.app.interfaces.container.IAdding"
-      menu="add_connection"
-      action="AddGadflyDA"
-      title="Gadfly DA" 
-      description="A DA for the built-in 100% Pure Python Gadfly Database" />
+  <addMenuItem
+    title="Gadfly DA" 
+    description="A DA for the built-in 100% Pure Python Gadfly Database"
+    class="zope.app.rdb.gadflyda.GadflyAdapter"
+    permission="zope.ManageServices"
+  />
 
 </zope:configure>




More information about the Zope3-Checkins mailing list