problems with NSWorkspaceRecycleOperation
problems with NSWorkspaceRecycleOperation
- Subject: problems with NSWorkspaceRecycleOperation
- From: Robert Vasvari <email@hidden>
- Date: Tue, 26 Feb 2002 22:41:44 -0800 (PST)
Hi All,
I have some issues with
NSWorkspaceRecycleOperation as it is performed by
[NSWorkspace
performFileOperation:source:destination:files:tag:].
1. sometimes this call fails silently, no error
messages just returns 0 and the file does not get
moved to the trash. I try again the same file without
any changes and it works. This happens randomly, at
least i cannot see any pattern. i verified until I was
blue in the face that all arguments passed to the call
were correct, there were no pernmission problems, etc.
The Finder has no problem moving the same files to the
trash.
2. After using this call, i notify the NSWorkspace by
sending the noteFileSystemChanged message with the
source directory as argument. The Finder updates, but
the trash icon does no change from empty to full, even
though the file did get moved to the trash. Is there
anything else i need to do?
any info is appreciated.
=[vrobi]=
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.