Re: Moving File to Trash Problem
Re: Moving File to Trash Problem
- Subject: Re: Moving File to Trash Problem
- From: Robert S Goldsmith <email@hidden>
- Date: Mon, 17 Sep 2001 16:54:48 +0100
This could simply be the general problem finder has with
refreshing it's windows. It is very very annoying but often
the finder windows do not show the most recent state of your
directories. I find I often have to move a file out and then
back into a window to get finder to update the contents :(
OS 10.1 should fix this ...
Robert
Randall Voth wrote:
When I use NSWorkspace's routine for moving a file to the trash, it
doesn't always show up in the Finder. (I have called
-noteFileSystemChanged.)
good = [[NSWorkspace sharedWorkspace]
performFileOperation:NSWorkspaceRecycleOperation ... ];
The problem seems to be that emptying the trash actually deletes the
trash folder. The Finder then does not recognize the fact that another
trash folder has been created by the call. Logging out and back in again
displays the file in the trash properly.
If a file is already in the trash, any file I move there shows up properly.
How do I notify the Finder the trash folder has been re-created?
- Randall Voth
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev