[gnome-software] Show applications without AppData in the installed panel
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Show applications without AppData in the installed panel
- Date: Tue, 29 Sep 2015 13:52:45 +0000 (UTC)
commit 8d8de1f7fc16906def3784a7ee8e796b1d5d4c79
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 8e6821f..251b9e1 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -980,7 +980,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]