[Zope-Checkins]
SVN: Products.Five/branches/philikon-local-components/browser/metaconfigure.py
site manager API: provideAdapter -> registerAdapter
Philipp von Weitershausen
philikon at philikon.de
Thu Apr 27 12:45:43 EDT 2006
Log message for revision 67652:
site manager API: provideAdapter -> registerAdapter
Changed:
U Products.Five/branches/philikon-local-components/browser/metaconfigure.py
-=-
Modified: Products.Five/branches/philikon-local-components/browser/metaconfigure.py
===================================================================
--- Products.Five/branches/philikon-local-components/browser/metaconfigure.py 2006-04-27 16:39:51 UTC (rev 67651)
+++ Products.Five/branches/philikon-local-components/browser/metaconfigure.py 2006-04-27 16:45:43 UTC (rev 67652)
@@ -125,8 +125,8 @@
_context.action(
discriminator = ('view', for_, name, IBrowserRequest, layer),
callable = handler,
- args = ('provideAdapter',
- (for_, layer), Interface, name, new_class, _context.info),
+ args = ('registerAdapter',
+ new_class, (for_, layer), Interface, name, _context.info),
)
_context.action(
discriminator = ('five:protectClass', new_class),
@@ -251,8 +251,8 @@
discriminator = ('view', for_, name, IBrowserRequest, layer,
self.provides),
callable = handler,
- args = ('provideAdapter',
- (for_, layer), self.provides, name, newclass,
+ args = ('registerAdapter',
+ newclass, (for_, layer), self.provides, name,
_context.info),
)
@@ -291,8 +291,8 @@
_context.action(
discriminator = ('resource', name, IBrowserRequest, layer),
callable = handler,
- args = ('provideAdapter',
- (layer,), Interface, name, factory, _context.info),
+ args = ('registerAdapter',
+ factory, (layer,), Interface, name, _context.info),
)
_context.action(
discriminator = ('five:protectClass', new_class),
@@ -358,8 +358,8 @@
_context.action(
discriminator = ('resource', name, IBrowserRequest, layer),
callable = handler,
- args = ('provideAdapter',
- (layer,), Interface, name, factory, _context.info),
+ args = ('registerAdapter',
+ factory, (layer,), Interface, name, _context.info),
)
for new_class in new_classes:
_context.action(
More information about the Zope-Checkins
mailing list