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: Truls Becken
Subject: Re: GNUMail and Pantomime maintenance release
Date: Tue, 8 Nov 2011 18:46:21 +0100

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?

-Truls


reply via email to

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