Author: jmorliaguet
Date: Sat Jun  3 10:28:44 2006
New Revision: 3290

Modified:
   cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/configure.zcml
   cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/views.py

Log:

- no need to specify an interface



Modified: 
cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/configure.zcml
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/configure.zcml 
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/configure.zcml 
Sat Jun  3 10:28:44 2006
@@ -20,7 +20,6 @@
   <view
       for="cpsskins.elements.interfaces.IElement"
       name="editpanel"
-      provides=".views.IEditPanel"
       class=".views.EditPanel"
       permission="zope.ManageContent"
       layer="cpsskins.browser.skin.cpsskins"

Modified: cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/views.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/views.py       
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/elementeditor/views.py       
Sat Jun  3 10:28:44 2006
@@ -49,13 +49,8 @@
         changed = form.applyChanges(self.context, self.form_fields, data)
         return u''
 
-class IEditPanel(Interface):
-    """Edit panel"""
-
 class EditPanel:
 
-    implements(IEditPanel)
-
     def __init__(self, context, request):
         self.context = context
         self.request = request
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to