FROM : Nick Zitzmann
DATE : Thu Jul 20 23:51:30 2006
On Jul 20, 2006, at 3:38 PM, matt jaffa wrote:
> In our upgrade installer package we put down a new System Preferences
> pane and it is working. But when they have System Preferences open
> before the upgrade the old .prefPane stays in memory. Is there some
> cocoa api to tell the System Preferences to reload in memory are
> Preference Pane without switching which preference pane is active, so
> that when they click on our prefPane it will show the updated version.
I don't think so. Instead, you should probably make the installer
close System Preferences if it's open. That's pretty easy to do with
NSAppleScript.
Nick Zitzmann
<http://www.chronosnet.com/>
DATE : Thu Jul 20 23:51:30 2006
On Jul 20, 2006, at 3:38 PM, matt jaffa wrote:
> In our upgrade installer package we put down a new System Preferences
> pane and it is working. But when they have System Preferences open
> before the upgrade the old .prefPane stays in memory. Is there some
> cocoa api to tell the System Preferences to reload in memory are
> Preference Pane without switching which preference pane is active, so
> that when they click on our prefPane it will show the updated version.
I don't think so. Instead, you should probably make the installer
close System Preferences if it's open. That's pretty easy to do with
NSAppleScript.
Nick Zitzmann
<http://www.chronosnet.com/>
| Related mails | Author | Date |
|---|---|---|
| matt jaffa | Jul 20, 23:38 | |
| Nick Zitzmann | Jul 20, 23:51 | |
| Finlay Dobbie | Jul 21, 00:09 |






Cocoa mail archive

