Skip to content
Commit d7e45a26 authored by Carlos Soriano Sánchez's avatar Carlos Soriano Sánchez
Browse files

mime-types: use g_content_type_is_a for mime support

We were using a plain text matching, which is less than ideal and prone
to error.

One clear practical issue is that rar was reported as not supported,
since the supertype is vnd.rar, not any alias like x-rar, etc.

This patch fix autoar to make sure we check for the supertypes for
reporting whether the types are supported or not.

https://bugzilla.gnome.org/show_bug.cgi?id=779431
parent 4cda32a7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment