Add item to NSSavePanel sidebar

2008-06-19 Thread Fedor Larin
Hi, I need to allow user to save some data to a file or a recordable cd ( dvd ), using NSSavePanel. Is it possible to programmatically add an icon representing recordable media to NSSavePanel's sidebar? Writing will be performed on-fly, so standard way used in Finder with 'untitled cd' icon

Re: Add item to NSSavePanel sidebar

2008-06-19 Thread Omar Qazi
On Jun 19, 2008, at 7:57 AM, Fedor Larin wrote: I need to allow user to save some data to a file or a recordable cd ( dvd ), using NSSavePanel. Is it possible to programmatically add an icon representing recordable media to NSSavePanel's sidebar? Writing will be performed on-fly, so

Re: Add item to NSSavePanel sidebar

2008-06-19 Thread Jens Alfke
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

Re: Add item to NSSavePanel sidebar

2008-06-19 Thread Omar Qazi
On Jun 19, 2008, at 6:36 PM, Jens Alfke wrote: (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... Good point. Omar Qazi Hello, Galaxy! 1.310.294.1593 smime.p7s Description: S/MIME cryptographic signature