skip@calendar.com writes:
In the sample product, Product.py defines
# Specify a relative URL for the icon used to display icons: icon='misc_/sample/item' In the MailHost product, MailHost.py defines icon='misc_/MailHost/MHIcon' Where are these things located? I couldn't find a directory named "misc_" anywhere, nor could I figure out how to get at any such beasts from within the management interface.
In the __init__.py for the MailHost product, a misc_ dictionary is defined, and one key maps 'MHIcon' to an ImageFile object. I'm not sure why it's done through a dictionary like this; why not just do icon = ImageFile(...) and point to just "icon"? -- A.M. Kuchling http://starship.skyport.net/crew/amk/ "Well, at least you've got the element of surprise on your side." "That would not be honorable, Matthew. I have already sent a messenger to the Lord of Hell, to let him know that I will be coming. One must do these things properly." -- From SANDMAN: "Season of Mists", episode 1