[gnome-software/gnome-3-18] Show applications without AppData in the installed panel



commit 7da70614bd8008195996e69693a2445a9b779148
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 29 14:03:56 2015 +0100

    Show applications without AppData in the installed panel

 src/plugins/gs-plugin-appstream.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index bba0762..eb430eb 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -981,7 +981,8 @@ gs_plugin_add_installed (GsPlugin *plugin,
        array = as_store_get_apps (plugin->priv->store);
        for (i = 0; i < array->len; i++) {
                item = g_ptr_array_index (array, i);
-               if (as_app_get_source_kind (item) == AS_APP_SOURCE_KIND_APPDATA) {
+               if (as_app_get_source_kind (item) == AS_APP_SOURCE_KIND_APPDATA ||
+                   as_app_get_source_kind (item) == AS_APP_SOURCE_KIND_DESKTOP) {
                        g_autoptr(GsApp) app = NULL;
                        app = gs_app_new (as_app_get_id (item));
                        ret = gs_plugin_refine_item (plugin, app, item, error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]