[CMF-checkins] CVS: CMF - CatalogTool.py:1.6.2.2 DynamicType.py:1.4.2.2
Martijn Pieters
mj@digicool.com
Mon, 9 Apr 2001 16:06:43 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv28640/CMFCore
Modified Files:
Tag: CMF-1_0-branch
CatalogTool.py DynamicType.py
Log Message:
Issue PTK(244)[], switch to getIcon
- Use getIcon instead of icon wherever possible
- When creating a catalog, use a 'getIcon' column instead of the 'icon'
column.
- Provide a conversion Python Script for existing catalogs.
--- Updated File CatalogTool.py in package CMF --
--- CatalogTool.py 2001/04/06 17:08:07 1.6.2.1
+++ CatalogTool.py 2001/04/09 20:06:12 1.6.2.2
@@ -170,7 +170,7 @@
self._catalog.addColumn('review_state')
self._catalog.addColumn('Creator')
self._catalog.addColumn('Date')
- self._catalog.addColumn('icon')
+ self._catalog.addColumn('getIcon')
self._catalog.addColumn('created')
self._catalog.addColumn('effective')
self._catalog.addColumn('expires')
--- Updated File DynamicType.py in package CMF --
--- DynamicType.py 2001/04/04 01:57:19 1.4.2.1
+++ DynamicType.py 2001/04/09 20:06:12 1.4.2.2
@@ -151,6 +151,6 @@
return 'misc_/OFSP/dtmldoc.gif'
security.declarePublic('icon')
- icon = getIcon # For the ZMI and the catalog.
+ icon = getIcon # For the ZMI
Globals.InitializeClass (DynamicType)