discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUMail and Pantomime maintenance release


From: Philippe Roussel
Subject: Re: GNUMail and Pantomime maintenance release
Date: Wed, 09 Nov 2011 21:39:54 +0100

Le mardi 08 novembre 2011 à 18:46 +0100, Truls Becken a écrit :
> On 2011-11-08, at 17:25, Philippe Roussel wrote:
> 
> > Le mardi 08 novembre 2011 à 09:25 -0600, Germán Arias a écrit :
> > 
> >> I add this because the AppIcon in GNUMail isn't the normal AppIcon. This 
> >> is an 
> >> instance of a class into GNUMail because it should manage the number of 
> >> unread mails, 
> >> but Ludovic forgot add the dot when the app is hidden.
> > 
> > Maybe there is no need to duplicate the code. For SimpleAgenda I used
> > the code from another application that replaces the content view of the
> > appicon with my own view. This way I can draw what I want in the view
> > and the appicon window draws the dot when the app is hidden.
> > 
> > This solution isn't perfect either (well, I don't know how to do it
> > better) because a -mouseDown:(NSEvent *) is needed in the view class for
> > the appicon to be movable. Maybe I missed something.
> 
> Isn't -[NSApplication setApplicationIconImage:] the standard way to do this 
> kind of thing?

Maybe for static images but not for dynamic content (I want to update
the icon each second if the user checks the clock option) ?

Philippe







reply via email to

[Prev in Thread] Current Thread [Next in Thread]