[Zope3-checkins] CVS: Zope3/src/zope/app/browser/rdb - configure.zcml:1.3

Guido van Rossum guido@python.org
Mon, 28 Apr 2003 17:35:59 -0400


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

Modified Files:
	configure.zcml 
Log Message:
Add separate "Add cache" and "Add connection" menus, so we can have
direct links to add caches and connections in the cache and connection
managers, respectively.


=== Zope3/src/zope/app/browser/rdb/configure.zcml 1.2 => 1.3 ===
--- Zope3/src/zope/app/browser/rdb/configure.zcml:1.2	Mon Mar  3 18:16:03 2003
+++ Zope3/src/zope/app/browser/rdb/configure.zcml	Mon Apr 28 17:35:29 2003
@@ -51,8 +51,17 @@
 
     </view>
 
+  <!-- Menu entry for "add component" menu -->
   <menuItem
       menu="add_component"
+      for="zope.app.interfaces.container.IAdding"
+      title="Gadfly Database Adapter" 
+      action="zope.app.rdb.gadflyda.GadflyAdapter"
+      />
+
+  <!-- Menu entry for "add connection" menu -->
+  <menuItem
+      menu="add_connection"
       for="zope.app.interfaces.container.IAdding"
       title="Gadfly Database Adapter" 
       action="zope.app.rdb.gadflyda.GadflyAdapter"