[Zope] icons not in __init__.py
Peter Bengtsson
mail@peterbe.com
Thu, 4 Oct 2001 18:09:55 +0200
When stating which icon to use for a python product you do that like =
this in __init__.py
icon=3D"event.gif"=20
But what about subclasses which are object on their own? They don't use =
the initialize() method.
I have tried:
class SubClassObject(ObjectManager, etc):
meta_type=3D'Event'
icon=3D'event.gif'
where event.gif is a valid gif next to the .py file I write this in.
That didn't work!
So, I have also tried:
icon=3D"misc_/MyProduct/event.gif" and =
icon=3D"misc_/MyProduct/event"
and
icon=3D"/misc_/MyProduct/event.gif" and =
icon=3D"/misc_/MyProduct/event"
Nothing has worked?
Zope 2.4.0
What's the trick?
Peter