Watch for Dock quit
Watch for Dock quit
When the dock restarts, the Adium icon appears as if you were offline (or Adium was closed or whatever). My guess is that this happens because the dock uses the application icon, and Adium doesn't know to change it until your status changes. The easy solution is to have Adium watch for dock quits and change the icon appropriately.
The easy "user visible" action is to do this, it's not necessarily technically feasible. 
Try my software!
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
#define ADIUMX pimp //by me
#define QUESTION ((2b) || (!2b))
Have you hugged a programmer today?
- Tony Arnold
- Harmless
- Posts: 5
- Joined: Fri Jan 28, 2005 3:55 am
- Location: Australia
- Contact:
I'm afraid my only advice on this would be exactly the same as Tick's - Friends don't let other friends poll the Dock for information. You'll need to use something like mach_inject to properly do that, and you're setting yourself up for a world o' pain if you do that.
Isn't there some way to force a dock icon to change back to the default on application terminate? Surely quitting via the dock doesn't skip standard de-allocations and the NSApplicationWillTerminate notification?
Isn't there some way to force a dock icon to change back to the default on application terminate? Surely quitting via the dock doesn't skip standard de-allocations and the NSApplicationWillTerminate notification?