Le jeu, 27/05/2004 à 12:48 +0200, Hongli Lai a écrit : > What's the current status of freedesktop.org MIME support in gnome-vfs? > I installed GNOME 2.6 and sadly I discovered several things: > - gnome-vfs doesn't seem to use ~/.local/share/mime unless > $XDG_DATA_DIRS is set. Looking at xdgmime.c:_xdg_mime_init, this shouldn't be necessary if either HOME or XDG_DATA_HOME are set, maybe there's a tiny bug in this code, would be worth looking at it with gdb/printf. > - If I run update-mime-database ~/.local/share/mime, gnome-vfs doesn't > detect changes until I restart the entire application (Nautilus)! Yeah, that's something I would have expected. > > And the most important of all: > - The MIME sniffing stuff doesn't seem to be implemented at all. I have > a file with the extension .package. [...] I had hoped > that I can now finally override this, but gnome-vfs doesn't seem to > support FD.o's MIME sniffing at all. As far as I know, MIME sniffing works, see for example the problems we had with .xls files being identified as .doc files because the .doc sniffing pattern was buggy. Nautilus only sniffs a file when you click on it though (and if it's local). Maybe that's what you are seeing ? Hope that helps, Christophe
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=