[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - configure.zcml:1.22
Guido van Rossum
guido@python.org
Tue, 4 Mar 2003 11:54:41 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv8154
Modified Files:
configure.zcml
Log Message:
Add "Add Service" as a separate action to the action menu for
packages. This saves the extra hassle of going through the generic
Add menu, which requires an extra step to go to the "Add Service"
menu. For now, keep the latter path as well.
=== Zope3/src/zope/app/browser/services/configure.zcml 1.21 => 1.22 ===
--- Zope3/src/zope/app/browser/services/configure.zcml:1.21 Mon Mar 3 18:16:04 2003
+++ Zope3/src/zope/app/browser/services/configure.zcml Tue Mar 4 11:54:40 2003
@@ -864,6 +864,15 @@
<!-- "Add Service" menu -->
<menuItem
+ menu="zmi_actions"
+ for="zope.app.interfaces.services.package.IPackage"
+ action="AddService"
+ title="Add Service"
+ permission="zope.ManageServices"
+ />
+
+<!-- XXX do we still need this one? -->
+<menuItem
menu="add_component"
for="zope.app.interfaces.container.IAdding"
action="../AddService"