Another idea came to me as I looked at the WebKit plugin's source: perhaps the values that are substituted into the notification style could be passed in as a JavaScript object as well. The display style's Info.plist could include an optional boolean key, say, GrowlScriptObject, so that we aren't passing objects across the scripting bridge unless the style actually wants them.
I understand that Javascript ought to be kept to a minimum in Growl styles, but I have used it to scroll a too-long title instead of truncating it and it could simplify implementing the above case where a style designer might want to display the icon differently depending on whether it is an application icon or something else. :) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Growl Discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en -~----------~----~----~----~------~----~------~--~---
