In as_store_from_root() (used for XML files), it does
/* guess the icon path after we've read the origin and then look for
* ../icons/$origin if the topdir is 'xmls', falling back to ./icons */
if (icon_prefix != NULL) {
g_debug ("icon_prefix: %s", icon_prefix);
g_autofree gchar *topdir = NULL;
topdir = g_path_get_basename (icon_prefix);
if (g_strcmp0 (topdir, "xmls") == 0 && priv->origin != NULL) {
g_autofree gchar *dirname = NULL;
dirname = g_path_get_dirname (icon_prefix);
icon_path = g_build_filename (dirname,
"icons",
priv->origin,
NULL);
} else {
icon_path = g_build_filename (icon_prefix, "icons", NULL);
}
}
Where icon_prefix is the directory the XML file was found in. We could
do the same thing I suppose - our icons are in ../icons/ relative to the
.yml.gz - but is it worth it?
BTW I just tried and this seems broken on Debian too - can you confirm
that? Do you know what changed to make this happen?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1542242
Title:
Search doesnt return any results
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1542242/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs