Author: jmorliaguet
Date: Wed May  3 17:54:20 2006
New Revision: 3034

Modified:
   cpsskins/branches/paris-sprint-2006/standard/filters/style/css.py
Log:

- fix



Modified: cpsskins/branches/paris-sprint-2006/standard/filters/style/css.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/standard/filters/style/css.py   
(original)
+++ cpsskins/branches/paris-sprint-2006/standard/filters/style/css.py   Wed May 
 3 17:54:20 2006
@@ -24,6 +24,7 @@
 from cpsskins.standard.formats.style import IStyle
 from cpsskins.standard.filters.style import ICSSRenderer
 from cpsskins.setup.interfaces import ISetting, IResource
+from cpsskins.utils import getThemeManager
 
 class IStylesheetView(Interface):
 
@@ -42,7 +43,7 @@
     def renderCSS(self):
         """Render the styles in CSS
         """
-        formats = getUtility(IFormatStorage, context=self.context)
+        formats = getThemeManager(self.context).getFormatStorage()
         isStyle = IStyle.providedBy
 
         response = self.request.response
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to