xffm idea for wastebaskets

Jens Luedicke jens at irs-net.com
Tue Feb 11 16:21:47 CET 2003


On Mon, 2003-02-10 at 20:59, edscott wilson garcia wrote:

> The trash collection cache based on browsing would have to go in
> add_folder.c where the dirctories are read. A g_hash would be necesary
> to avoid opening the dbh file unnecesarrily (this would be populated on
> startup). Testing would be necesary to check if it does not slow things
> down with large directories.
> 

What do you think about a trash collection every time something is moved
to the wastebasket? the wasteit() function could call collect_trash().
And collect_trash() would only scan in the current directory (where the
file was removed - and no deep recursive scanning).

-- 
Jens Luedicke <jens at irs-net.com>

"Never offend people with style when you can offend them with
substance."
--Sam Brown






More information about the Xfce4-dev mailing list