Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

forcing Dock to refresh



My app has an update mechanism that downloads the update, moves the currently running bundle to the trash, installs the update where the running copy used to be, and then quits and launches the updated copy.

If the user has "Keep in Dock" selected for the app, the result is two identical icons in the Dock, one for the old version (not running) and one for the new (running). Of course the new version is in the location formerly occupied by the old one, so these two icons both reference the same location. But the Dock does not recognize that these two icons should be one until the app is quit and relaunched from the Dock.

I'm wondering if there is a way to force the Dock to update one or all of its items, so that when the new version is launched it is properly associated with the existing Dock icon.

Thanks,
--
Jim Matthews
Fetch Softworks
http://fetchsoftworks.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.