Have been sick the last few days but today I felt good enough to get some hacking done. I started hacking on GtkStatusIcon support in the Mac OS X port and is pretty happy with the result of todays hacking.
Showing Gossip with status icon in the Mac OS X menu bar It’s fairly complete, only need to add support to hide the status icon and clean up the code a bit. However, the Mac OS X NSStatusItem API doesn’t support everything we support in GtkStatusIcon so there will be some restrictions on what you can do but I think that is true for the Windows port as well.From what I can see you can either get it to signal that the user left-clicked on the icon or that he double clicked. Not both at the same time. More over would it be nice to be able to set an NSMenu instead of showing a Gtk menu, it would make it integrate better.Most of it was pretty straight forward but I had to fix an assumption in the event system causing a crash since Gdk assumed that all windows where created by Gdk.
OMG! won’t hordes of mac fanboys go there and haunt you down for putting colored stuuf into their notification area!!?? Besides of the risk of your personal integrity, the thing looks really nice, I wonder how it works with gtk directly over quartz, or is that it?
Too bad the menu itself still looks non-native. But that’s X11 I suppose.
Phrodo, having non-colored icons there is by convention rather than forced (the GMail icon gets colored when you mail). If we released Gossip like this for Mac we probably would get people complain yes.
Remko, the menu is a natively (no-X) rendered Gtk+ menu. As I mentioned in my post, it would be nice to add support for setting a Cocoa menu instead of using a Gtk+ menu for better integration.
Wow! Thats awesome. I can’t wait to get GTK apps compiling nativly on osx. I hate having to run X11.app in order to play with inkscape, gimp and ethereal.
Great job
I love you lot!
Wonderful work. Can’t wait for a finished gtk+ port
Snyggt jobbat! Hej då X11.
(Stolt svensk Chalmerist tillika Mac:are önskar God Jul.)
Great to hear about it. As Dave, I would like to have a native Gtk+ port too. X11 is no solution for the future. Theming can be done later on.
Thanks for that and keep on the good work!