[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index - configure.zcml:1.7 subscription_control.pt:NONE

Anthony Baxter anthony@interlink.com.au
Fri, 11 Jul 2003 01:51:00 -0400


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

Modified Files:
	configure.zcml 
Removed Files:
	subscription_control.pt 
Log Message:
Moved the Registration object from zope.app.index to zope.app.services.hub,
and changed the bootstrap code to add a Registration object if there is not
already one installed. This means that by default the ObjectHub is now 
actually doing something, rather than sitting by itself feeling lonely.

When a Registration object is added by bootstrap, it's subscribed by
default.


=== Zope3/src/zope/app/browser/index/configure.zcml 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/index/configure.zcml:1.6	Sun Jun 22 12:10:55 2003
+++ Zope3/src/zope/app/browser/index/configure.zcml	Fri Jul 11 01:50:26 2003
@@ -1,22 +1,6 @@
 <zopeConfigure xmlns='http://namespaces.zope.org/browser'>
 
 
-  <menuItem
-    menu="add_component"
-    for="zope.app.interfaces.container.IAdding"
-    action="zope.app.index.subscribers.Registration"
-    title="Registration subscriber"
-    description="An event subscriber that registers content with the objecthub"
-    />
-
-  <page
-    for="zope.app.index.subscribers.ISubscriptionControl"
-    permission="zope.ManageServices"
-    name="index.html"
-    menu="zmi_views"
-    title="Control"
-    template="subscription_control.pt" 
-    />
 
   <include package=".text" />
   <include package=".field" />

=== Removed File Zope3/src/zope/app/browser/index/subscription_control.pt ===