On Sat, 2006-09-02 at 18:52 +0100, Alex Jones wrote: > The ideal situation would be to grab the MIME type of a by neither > looking up extension nor figuring out from the file data, but by > actually storing the MIME media type identifier with the file. But this > isn't possible right now.
It's possible, sure. It's just not portable or distributable. So if you store the MIME media type string in an extended attribute on the filesystem, and then send the file elsewhere, the metadata won't get sent to the other user. The metadata also needs to be updated when the file type changes. If you replace a file with different content, but the same name, you don't want it to use the icon/handlers of the old type. -- dobey _______________________________________________ gnome-vfs-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
