<Glazblog/>

Add a number to your xulrunner-based app's Mac OS X dock icon

I have extracted some code from Thunderbird's nsMessengerOSXIntegration.cpp to allow my xulrunner apps to add a number to their Mac OS X dock icon. It's of course a binary component, very simple to build and use. I'll release the code here tomorrow.

Comments

1. On Tuesday 15 September 2009, 21:27 by humph

Hey Daniel,

That code you're linking to is pretty out of date. I've done a bunch of work in there for TB3, see this version: http://mxr.mozilla.org/comm-central... Also, since doing that change, we noticed that the Mac APIs for doing this leak, see bug 508001, which isn't fixed yet.

Dave

2. On Tuesday 15 September 2009, 22:32 by Daniel Glazman

@humph: well, the way you draw onto the dock icon is still the same. BTW, I wonder why that code does not use OverlayApplicationDockTileImage()...

3. On Wednesday 16 September 2009, 01:51 by mel

wow, yeah, this is something I can totally use, thanks.