On Sep 1, 2008, at 4:59 AM, Peter Hosey wrote:

>
> On Aug 31, 2008, at 21:22:52, Dustin wrote:
>> This may be a strange case, but I'm developing a plugin for iPhoto
>> that uses Growl. There are several iPhoto plugins that use Growl,
>> and this seems to confuse Growl.
>
> Happen to know what they are? I'd like to add them to the Applications
> list.
>
>> For example, inside the Growl prefpane the notification names that
>> were registered for my plugin will show up in the list of
>> notification for a different iPhoto plugin. When my plugin posts
>> notifications, it sometimes also uses the icon for the other iPhoto
>> plugin. Is this a Growl bug or something I'm doing wrong?
>
> No, no bug and nothing you're doing wrong.
>
> First off, each process can only have one of each Objective-C class.
> So, when you try to load GrowlApplicationBridge from your
> Growl.framework and another plug-in tries to load it from its
> Growl.framework, one of them wins and one of them loses. This doesn't
> cause any serious breakage, but it does mean that you could end up
> using an older GAB than you expect to (if some other plug-in is using
> an old framework).
>
> Second, Growl assumes that there is One True Registration Dictionary
> for the app, including all its notification names. Furthermore, the
> GrowlApplicationBridge is designed for exactly one delegate, so when
> one plug-in sets itself as delegate and you set yourself as delegate,
> one of you wins and one of you loses. Only one delegate gets
> represented in Growl's Applications list unless they use different app
> names (as you said they do), and only one delegate gets click  
> feedback.
>
> Honestly, I think AppleScript would be more advisable in your
> situation. If you require Leopard, you can use the Scripting Bridge to
> ease the pain.
>

We've worked around this scenerio before with input managers. I think  
Evan sent the email to discuss on this one, but it's pre-google- 
groups. I've been trying to find it since last night, but could not.

I'll continue searching, but someone else should probably look too.


Chris

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to