[PATCH 4/5] winemac: Implement rudimentary support for system tray icons as Mac status items.

Charles Davis cdavis5x at gmail.com
Mon Mar 18 16:04:39 CDT 2013


On Mar 18, 2013, at 2:23 PM, Ken Thomases wrote:

> On Mar 18, 2013, at 2:15 PM, Ken Thomases wrote:
> 
>> On Mar 18, 2013, at 3:03 PM, C.W. Betts wrote:
>> 
>>> On Mar 17, 2013, at 9:40 PM, Ken Thomases <ken at codeweavers.com> wrote:
>>> 
>>>> Doesn't support right-clicks, mouse moves, or notification balloons.
>>> Notification balloons can probably be done using either Notification Center or Growl
>> 
>> 
>> Yeah, I was thinking that the notification center is the right way to go.
> 
> Josh reminds me that only code-signed apps can use the Notification Center, so that may not be very useful. *sigh*
So what? It's actually possible to self-sign executables. (If you don't have a real code-signing certificate, you have to do this to build and use GDB or LLDB from source on Mac OS.) You probably won't be able to distribute the resulting executable, though.

LLDB has a nice document describing how you'd go about creating a self-signed certificate. You can find it here:

http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/code-signing.txt

Though I wonder if it's a good idea to ask users to create a self-signed certificate just so Wine can use the Notification Center...

>> I'm not sure if we want to use Growl given that it's not part of the OS, but I guess I don't feel very strongly one way or another.
Most apps that want Growl come with their own Growl framework. Obviously, we can't do that for vanilla Wine. What we really need for this is some way to dynamically load and use frameworks (according to the standard rules for finding frameworks). That way, we can check for Growl at runtime and use it if it's present. I have a small library that wraps the CFBundle API in a dlopen(3)-style API. (As a matter of fact, I wrote it specifically to see if we could do something like that for Wine. As I recall, it was around the time we got OpenAL support.)

Or, we could just check for it in configure (like C.W. said), if that's easier. I guess it really depends on AJ, and we won't be hearing from him for a while.

At this point, though, I'm wondering if it wouldn't just be easier to have Explorer draw the balloons itself à la Windows XP.

Chip




More information about the wine-devel mailing list