[gnome-software] Set the GsAppIdKind for applications installed locally without AppStream metadata.



commit 7a0ed35bf3bb5990d1421544d399522e470f8e8b
Author: Richard Hughes <richard hughsie com>
Date:   Thu Oct 17 10:07:29 2013 +0100

    Set the GsAppIdKind for applications installed locally without AppStream metadata.

 src/plugins/gs-plugin-datadir-apps.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-datadir-apps.c b/src/plugins/gs-plugin-datadir-apps.c
index 4510a6a..0d32c31 100644
--- a/src/plugins/gs-plugin-datadir-apps.c
+++ b/src/plugins/gs-plugin-datadir-apps.c
@@ -285,6 +285,7 @@ gs_plugin_refine (GsPlugin *plugin,
                }
 
                /* we know it's installed as we read the desktop file */
+               gs_app_set_id_kind (app, GS_APP_ID_KIND_DESKTOP);
                if (gs_app_get_state (app) == GS_APP_STATE_UNKNOWN)
                        gs_app_set_state (app, GS_APP_STATE_INSTALLED);
        }


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