Use Snow Leopard's new API to send files to Trash if available
Reported by Virgil Dupras | September 17th, 2009 @ 12:40 PM
I noticed that files being sent to Trash by dupeGuru in Snow
Leopard can't be "Put Back" like other files can. I'm not sure, but
I think it's because one has to use the new API in
NSWorkspace
for the files to be "re-placeable".
Comments and changes to this ticket
-
Virgil Dupras September 27th, 2009 @ 09:11 AM
- State changed from new to accepted
-
Virgil Dupras September 27th, 2009 @ 09:42 AM
- Milestone set to se2.8.1 me5.6.5 pe1.7.6
[milestone:id#51279 bulk edit command]
-
Virgil Dupras September 30th, 2009 @ 06:45 PM
- Milestone cleared.
- State changed from accepted to hold
Can't do it yet, it seems that PyObjc 1.4 can't handle calling recycleURLs:completionHandler: (I'm getting a pyobjc internal error).
-
Virgil Dupras January 20th, 2010 @ 09:51 AM
- State changed from hold to accepted
Now that I've switched to pyobjc 2.2, I can try this again.
-
Virgil Dupras April 12th, 2010 @ 04:11 PM
- State changed from accepted to invalid
This is irrelevant, after all. Even by using the new API from 10.6, trashed file don't get the Put Back item. It seems like only files trashed with Finder get it...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป