Re: NSSavePanel panel:shouldShowFilename:

2010-11-17 Thread Corbin Dunn
On Nov 15, 2010, at 7:57 PM, Leo wrote: > From: Quincey Morris > >> a number of system extensions (like Default Folder, but I think that wasn't >> the first) added the ability to option-click on a disabled item to prefill >> the >> text field with an existing name, > >> At some point (possibl

Re: NSSavePanel panel:shouldShowFilename:

2010-11-16 Thread Leo
From: Quincey Morris > a number of system extensions (like Default Folder, but I think that wasn't > the first) added the ability to option-click on a disabled item to prefill the > text field with an existing name, > At some point (possibly Mac OS X 10.0), Apple quietly adopted this very useful

Re: NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Stephen Blinkhorn
On 15 Nov 2010, at 22:06, Quincey Morris wrote: The other thing I forgot to say earlier is that the new 'panel:shouldEnableURL:' method is explicitly documented to be *ignored* for Save panels, which makes more sense in terms of the OP's original question than the older delegate method.

Re: NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Quincey Morris
On Nov 15, 2010, at 18:48, Erik Buck wrote: > Mac OS 7,8,9 had no delegates at all. Cocoa was introduced with Mac OS X. > Before that, the technology had nothing to do with Mac OS (other than > Rhapsody pre-release and server) and was called Yellow Box. Before that it > was Openstep, and befo

Re: NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Stephen Blinkhorn
Thanks for the comprehensive replies. On 15 Nov 2010, at 17:47, Graham Cox wrote: On 16/11/2010, at 10:41 AM, Stephen Blinkhorn wrote: Returning NO for NSSavePanel's panel:shouldShowFilename: delegate will grey out/de-activate an item in the file browser but the item can still be selected

Re: NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Quincey Morris
On Nov 15, 2010, at 15:41, Stephen Blinkhorn wrote: > Returning NO for NSSavePanel's panel:shouldShowFilename: delegate will grey > out/de-activate an item in the file browser but the item can still be > selected and doing so copies the file name string into the Save As: text > field. > > Is t

Re: NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Kyle Sluder
On Mon, Nov 15, 2010 at 3:41 PM, Stephen Blinkhorn wrote: > Hello, > > Something doesn't seem right here. > > Returning NO for NSSavePanel's panel:shouldShowFilename: delegate will grey > out/de-activate an item in the file browser but the item can still be > selected and doing so copies the file

Re: NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Graham Cox
On 16/11/2010, at 10:41 AM, Stephen Blinkhorn wrote: > Returning NO for NSSavePanel's panel:shouldShowFilename: delegate will grey > out/de-activate an item in the file browser but the item can still be > selected and doing so copies the file name string into the Save As: text > field. > > Is

NSSavePanel panel:shouldShowFilename:

2010-11-15 Thread Stephen Blinkhorn
Hello, Something doesn't seem right here. Returning NO for NSSavePanel's panel:shouldShowFilename: delegate will grey out/de-activate an item in the file browser but the item can still be selected and doing so copies the file name string into the Save As: text field. Is this the expected