[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services/service - __init__.py:1.17

Anthony Baxter anthony at interlink.com.au
Mon Feb 9 00:35:51 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/services/service
In directory cvs.zope.org:/tmp/cvs-serv23525/app/browser/services/service

Modified Files:
	__init__.py 
Log Message:
The add_utility and add_service menus are now entirely removed. All
items that used them have been switched to use addMenuItem, instead.

Removed a last trace of the SQL Connection Service, and also removed
the add interface for deprecated Role Service.


=== Zope3/src/zope/app/browser/services/service/__init__.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/browser/services/service/__init__.py:1.16	Mon Feb  9 00:06:21 2004
+++ Zope3/src/zope/app/browser/services/service/__init__.py	Mon Feb  9 00:35:20 2004
@@ -116,7 +116,7 @@
 class ServiceAdding(ComponentAdding):
     """Adding subclass used for adding services."""
 
-    menu_id = "add_service"
+    menu_id = None
     title = _("Add Service")
 
     _addFilterInterface = ILocalService
@@ -153,7 +153,7 @@
 class UtilityAdding(ComponentAdding):
     """Adding subclass used for adding utilities."""
 
-    menu_id = "add_utility"
+    menu_id = None
     title = _("Add Utility")
 
     _addFilterInterface = ILocalUtility




More information about the Zope3-Checkins mailing list