[Zope-CMF] [dev] type info: content_icon vs. icon_expr property

Hanno Schlichting hannosch at hannosch.eu
Thu Jan 22 05:37:06 EST 2009


Hi.

yuppie wrote:
> I just noticed this checkin: http://svn.zope.org/?rev=94014&view=rev
> 
> And I'm a bit confused. What's the plan? Maintaining redundant 
> information? Using a different icon for the add action? Deprecating 
> content_icon and migrating everything to icon_expr?

I would be fine with deprecating content_icon and switching to icon_expr
instead of maintaining both.

The only place I know where this would be a bit difficult is in
Products.CMFCore.TypesTool.TypeInformation.getIcon which returns the
icon name and not the complete URL.

Hanno



More information about the Zope-CMF mailing list