commit dbe5e1c0a Author: Pablo Correa Gómez Date: Thu Dec 22 23:40:55 2022 +0100 gs-appstream: Support new loading icons from "xml" location This is part of the standard, and icons in those directories should not actually be skipped. diff --git a/lib/gs-appstream.c b/lib/gs-appstream.c index 24ca8e805..fa94a6e85 100644 --- a/lib/gs-appstream.c +++ b/lib/gs-appstream.c @@ -203,7 +203,10 @@ gs_appstream_build_icon_prefix (XbNode *component) /* check format */ path = g_strsplit (tmp, "/", -1); npath = g_strv_length (path); - if (npath < 3 || !(g_strcmp0 (path[npath-2], "xmls") == 0 || g_strcmp0 (path[npath-2], "yaml") == 0)) + if (npath < 3 || + !(g_strcmp0 (path[npath-2], "xmls") == 0 || + g_strcmp0 (path[npath-2], "yaml") == 0 || + g_strcmp0 (path[npath-2], "xml") == 0)) return NULL; /* fix the new path */