[Nautilus-list] Trash emblems.



The directory view calls eel_uri_is_in_trash() for every file to see if 
the trash emblem should be added. This is then dutifully excluded from all 
views except the search view by the get_emblem_names_to_exclude() signal.

The problem is that this function costs, it tries to locate the uri for 
each file, resulting in stat() calls and access() calls per file in the 
directory.

In RH we don't support medusa, so we just don't set the trash emblem for 
performance reason, but for HEAD this needs to be solved in some other 
way. Any ideas?

/ Alex






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