How to get trashed file path after "g_file_trash" ?



Hello, 
I'm porting the undo patch code [1] from gnome-vfs to gio/gvfs.
I'm facing the following problem: to undo a "move to trash" action I
need to know where the file has been trashed (and under which name);

so, is there a way to get the path or am I forced to process every file
in the trash path and check the "orig_path" attribute?

thank you in advance

regards

A.


[1] http://bugzilla.gnome.org/show_bug.cgi?id=167501


-- 
Amos Brocco | Ph.D Student | Computer Science Department - DIUF |
University of Fribourg | A406 Pérolles 21 | Bd. Pérolles 90 |
CH-1700 Fribourg | http://diuf.unifr.ch/pai/people/broccoa


Attachment: signature.asc
Description: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio firmata digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]