[gnome-software/wip/hughsie/unique_id] f



commit e592fc134090beb204db16ad575f4b27515531d6
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jul 29 16:32:15 2016 +0100

    f

 src/plugins/gs-appstream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-appstream.c b/src/plugins/gs-appstream.c
index e5ade4b..6673b56 100644
--- a/src/plugins/gs-appstream.c
+++ b/src/plugins/gs-appstream.c
@@ -562,7 +562,7 @@ gs_appstream_refine_app (GsPlugin *plugin,
                tmp = as_app_get_unique_id (item);
                if (g_str_has_prefix (tmp, "user/flatpak/") ||
                    g_str_has_prefix (tmp, "system/flatpak/"))
-                       gs_app_set_origin (app, tmp);
+                       gs_app_set_origin (app, as_app_get_origin (item));
        }
 
        /* set description */


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