[Zope3-checkins] CVS: Zope3/src/zope/app/browser/cache - configure.zcml:1.9

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


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

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/cache/configure.zcml 1.8 => 1.9 ===
--- Zope3/src/zope/app/browser/cache/configure.zcml:1.8	Fri Apr 11 18:15:44 2003
+++ Zope3/src/zope/app/browser/cache/configure.zcml	Mon Apr 28 17:35:28 2003
@@ -3,8 +3,17 @@
    xmlns:browser='http://namespaces.zope.org/browser'
 >
 
+  <!-- Menu entry for "add component" menu -->
   <browser:menuItem
       menu="add_component"
+      for="zope.app.interfaces.container.IAdding"
+      title="RAM Cache"
+      action="zope.app.caching.RAMCache"
+      />
+
+  <!-- Menu entry for "add cache" menu -->
+  <browser:menuItem
+      menu="add_cache"
       for="zope.app.interfaces.container.IAdding"
       title="RAM Cache"
       action="zope.app.caching.RAMCache"