Carbon Apps produce preference files without developers doing anything

This evening I was speaking to Yvan Barthélemy (ybart on IRC) over IRC, when he pointed out something interesting about the preferences for the Aqua port.

Even so the aqua port hasn’t specifically done anything to do so, Mac OS X has created the preferences file org.openoffice.script.plist. This contains information such as the last used folder in file open dialogs, and any other Carbon components that have preferences associated with them.

The preferences filename comes from CFBundleIdentifier in the Info.plist file that is in every Application bundle. We came to the conclusion that this isn’t a good name for the aqua version. We thought that having a CFBundleIdentifier of org.openoffice would be appropriate since OpenOffice.org doesn’t have any other applications of the Mac. (Well as far as I know at the moment).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.