Searching for trash folders



Just wondering if someone could give me a sanity check on this.
It seems as if the code in
libnautilus-private/nautilus-trash-directory.c looks through the
filesystem for an _entire_volume_ for a suitable trash folder.
Furthermore, it pops up a confusing dialog (after a suitable delay)
which says "Nautilus is searching your disks for trash folders."

This message might provide some context:
https://listman.redhat.com/archives/phoebe-list/2003-January/msg00369.html

As well as this bugzilla entry:
http://bugzilla.gnome.org/show_bug.cgi?id=46213

This behaviour causes problems on our system, where a user might browse
a remote nfs filesystem using amd. In this case, there are few or no
shares where the user has permission to write and the time needed to
search these shares is relatively high.

There does seem to be a patch in RH 7.3 to remove the "Nautilus is
searching for trash folders" dialog (which somehow never made its way up
to HEAD, I guess). The async directory searching thing is in every
version of Nautilus I've looked at.

Would it be possible/sane to change the trash-directory code to work as
Havoc suggests, and remove the code that brings up the dialog?

Let me know, and I'll cook up a patch.

Thanks,
-- 
William Lachance <wlach nit ca>




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