[gnome-software] details page: Set the REQUIRE_PROVENANCE flag when getting alternates



commit 696e4102bab8abd736f1eba385ed3c6a791c8f42
Author: Kalev Lember <klember redhat com>
Date:   Thu Sep 27 15:43:48 2018 +0200

    details page: Set the REQUIRE_PROVENANCE flag when getting alternates
    
    We use the provenance info for deciding if something comes from distro
    proper.

 src/gs-details-page.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index 0d1770e3..9a33a1cc 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -967,7 +967,8 @@ gs_details_page_set_alternates (GsDetailsPage *self)
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_GET_ALTERNATES,
                                         "interactive", TRUE,
                                         "app", self->app,
-                                        "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN,
+                                        "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN ||
+                                                        GS_PLUGIN_REFINE_FLAGS_REQUIRE_PROVENANCE,
                                         NULL);
        gs_plugin_loader_job_process_async (self->plugin_loader,
                                            plugin_job,


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