On Apr 9, 2010, at 12:53:12, Sravana Kumar wrote:
> [GrowlApplicationBridge setWillRegisterWhenGrowlIsReady:YES];
You don't need to do that.
> if( ![self showBalloon] )
All that method does is post a notification saying you registered. Don't do
that—the user does not need to see that notification every time they launch
your app.
Maybe this notification isn't being displayed, but that doesn't matter, because
you shouldn't be sending it anyway. Remove it, and you will no longer have
either problem.
> return [NSImage imageNamed:@"NSApplicationIcon.icns"];
You don't need to do that. Did you read the documentation (which you included
in your own source code for some reason) for the -applicationIconForGrowl
method? It explicitly says that if you don't implement this method or its
alternative, Growl will use your application's icon.
And even if you did need to do that, including “.icns” would be wrong.
> + (BOOL)isGrowlInstalled
> {
> return [GrowlApplicationBridge isGrowlInstalled];
> }
Why are you implementing this method?
--
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.