Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
- Subject: Re: Force NSOpenPanel's -panel:shouldShowFilename: to get called again?
- From: John Stiles <email@hidden>
- Date: Fri, 18 Jan 2008 09:21:50 -0800
I hadn't tried it until now, but it didn't help :(
I tried both
NSString* directory = [panel directory];
[[NSWorkspace sharedWorkspace] noteFileSystemChanged:directory];
and the more generic
[[NSWorkspace sharedWorkspace] noteFileSystemChanged];
In the first case I also verified that "directory" was the path that I
expected.
Thanks for the help… any more ideas?
Hamish Allan wrote:
On Jan 18, 2008 12:43 AM, John Stiles <email@hidden> wrote:
If I go to the Finder and create a new file, this does force the Open
panel to re-check everything.
Any ideas?
Have you tried NSWorkspace's noteFileSystemChanged:?
Hamish
_______________________________________________
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