xffm idea for wastebaskets
edscott wilson garcia
edscott at imp.mx
Mon Feb 10 16:54:56 CET 2003
El lun, 10-02-2003 a las 08:16, Jens Luedicke escribió:
> Hi ...
>
> to improve the speed while searching for wastebaskets,
> I have the following idea:
>
> whenever a new wastebasket is created, its full
> path is added to a file. The trash collection would
> only need to read over this file instead of reading over
> the whole file-tree.
This might be similar to what Jasper suggested (having files added to
the trashbin when they are moved to the wastebaskets). The only issue is
that the search for wastebaskets is necessary to collect trash generated
by other users or other filemanagers (like xftree, nautilus, konqueror,
rox,...). OTH, it might be a different idea altogether... yea... Say
xffm creates a dbh cache file where all the Wastebasket paths it
encounters (while browsing) are stored. That would include all
wastebaskets generated by xffm or other apps. Then it would just collect
trash from those paths if they are within the selected directory for
trash collection. Quite easy to implement too.
Edscott
More information about the Xfce4-dev
mailing list