Use enumeration in is_under_trash_traverser()
Check for trash item deeper than one level
Extract trash.c:get_resident_type() function

Gets status of file relative to trash directories.
Don't demangle child trash files of removed dirs
Pass full path to get_real_name_from_trash_name()

So it can check whether file is in trash.
Require abs path in get_real_name_from_trash_name
Document fixing of file name cropping
Merge branch 'fix-trash-yank-name-demangling'

Fix wrong file name cropping on moving/copying files from trash.

Bug report #44 on SourceForge.

Thanks to kazufukurou.