Get the top-class for a file: e.g. application/xml for image/svg+xml

View: New views
1 Messages — Rating Filter:   Alert me  

Get the top-class for a file: e.g. application/xml for image/svg+xml

by Bugzilla from daniel.leidert.spam@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I currently try to figure out, how to get the top-class of a file. If I
have e.g. a DocBook XML and a SVG file, is there a function that returns
application/xml for both? I do not find a function in the docs, that
does what I need.

Or is there some other way to get this result?

Regards, Daniel

_______________________________________________
gnome-vfs-list mailing list
gnome-vfs-list@...
http://mail.gnome.org/mailman/listinfo/gnome-vfs-list
LightInTheBox - Buy quality products at wholesale price!