[PATCH] Don't use file type in sidebar for "abstract" files

From bug 168561 [1]:

"When I open "Computer" in the File Browser, the Information sidebar
shows "x-directory/normal, 11 items". This is very silly considering
that my computer is not a directory."

The proposed patches introduce a concept of "abstract" files which don't
map to actual inodes, i.e. "computer:///", "network:///",
"x-nautilus-desktop:///" etc.. All of them should not expose their file
type to the user, since the information is generally crap. I've just
noticed that I didn't add "fonts:///" and "burn:///", but this would be
trivial to add. Maybe you remember any other URIs that are abstract?
For now I'm just interested in architectural feedback :).

Note that we can later adapt [2] to this API where appropriate, although
this is not yet a priority.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=168561
[2] http://mail.gnome.org/archives/nautilus-list/2005-July/msg00331.html

Christian Neumair <chris gnome-de org>

Attachment: signature.asc
Description: This is a digitally signed message part

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