[gnome-software] Use the new AS_APP_KIND_LOCALIZATION support for lang-packs
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Use the new AS_APP_KIND_LOCALIZATION support for lang-packs
- Date: Fri, 4 Mar 2016 08:34:11 +0000 (UTC)
commit 9177b225dfb1476f59287ed7b3cc4a3cbb858388
Author: Richard Hughes <richard hughsie com>
Date: Tue Mar 1 13:04:24 2016 +0000
Use the new AS_APP_KIND_LOCALIZATION support for lang-packs
src/plugins/gs-plugin-appstream.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 4f47533..1dc61c0 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -223,7 +223,7 @@ gs_plugin_appstream_startup (GsPlugin *plugin, GError **error)
/* fix up these */
for (i = 0; i < items->len; i++) {
app = g_ptr_array_index (items, i);
- if (as_app_get_kind (app) == AS_APP_KIND_GENERIC &&
+ if (as_app_get_kind (app) == AS_APP_KIND_LOCALIZATION &&
g_str_has_prefix (as_app_get_id (app),
"org.fedoraproject.LangPack-")) {
g_autoptr(AsIcon) icon = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]