mclasen at redhat.com
Sun Jul 20 11:27:49 PDT 2008
On Sun, 2008-07-20 at 16:34 +0100, Bastien Nocera wrote:
> In the docs for g_content_type_guess_for_tree() you mention:
> The types returned all have the form x-content/foo, e.g.
> x-content/audio-cdda (for audio CDs) or x-content/image-dcf
> But we can't detect x-content/audio-cdda with the current code... Is
> this something that will be reimplemented in gvfs as well, so it can
> aggregate the data from HAL and other sources?
Yes, the hal backend in gvfs will use the tree sniffing in addition to
looking at hal properties to come up with a final list of content types,
which will be exposed via g_mount_guess_content_type().
More information about the xdg