Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


ok | 2 comments | Create New Account
Click here to return to the 'ok' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ok
Authored by: bhines on Dec 29, '01 07:47:27AM

Well, for one thing, prebinding has absolutely nothing to do with icons. update_prebinding re-associates symbols (functions) with their location in an object file so they don't have to be looked up at runtime.

To reset your Icon associations, I believe you delete LSClaimedTypes in the preferences folder. (and maybe LSApplications too)

All this hack is doing is causing AppleWorks to claim certain document types, and set their icon. You could do the same with any application's info.plist - appleworks has nothing to do with it, really. It just claims a lot of types. :)

Also, you should use PropertyListEditor in /Developer/Applications to edit plists. Much safer.

All should read "Inside Mac OS X: System Overview" which explains the document/icon association system instead of trying to hack it out. All is explained. It's on apple's developer site.

-B



[ Reply to This | # ]