appinfo: Do not override system default handler with less specific one
authorVincent Untz <vuntz@gnome.org>
Sun, 20 Feb 2011 09:41:17 +0000 (10:41 +0100)
committerVincent Untz <vuntz@gnome.org>
Sun, 20 Feb 2011 15:06:40 +0000 (16:06 +0100)
commitf909469e31caacd9ec26569cc377dcc367e1f571
tree7d54bd96dc156dd29979a8348c8fea2156eb56c5
parent1158f9c171682e2ce30c1e790fe809dbb9926277
appinfo: Do not override system default handler with less specific one

We were considering explicitly configured defaults for parent types
after we already got results for the specific type we're interested in.

This resulted in the explicit default for text/plain to override all
system defaults for subtypes of text/plain, for example. The explicit
default should not apply to subtypes that have a system default.

https://bugzilla.gnome.org/show_bug.cgi?id=642797
gio/gdesktopappinfo.c