Re: Add item to NSSavePanel sidebar
Re: Add item to NSSavePanel sidebar
- Subject: Re: Add item to NSSavePanel sidebar
- From: Jens Alfke <email@hidden>
- Date: Thu, 19 Jun 2008 18:36:27 -0700
On 19 Jun '08, at 6:22 PM, Omar Qazi wrote:
The finder has to save the sidebar state to disk somewhere. I image
that it would be possible to read that file and change the place
where it mentions all the items in the sidebar to include your
directory.
The Open/Save panels are not part of the Finder; they're just drawn
that way. They're really part of the AppKit framework. I agree there's
probably a shared plist somewhere that describes the configuration of
the sidebar, but (a) messing with this without the user's consent
would be a bad idea, and (b) there's no way to get NSSavePanel in your
own process to notice the file's changed, since you don't want to kill
yourself...
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden