[gnome-software/wip/hughsie/sandbox-ui: 5/7] trivial: Make ORIGIN_HOSTNAME imply ORIGIN
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/sandbox-ui: 5/7] trivial: Make ORIGIN_HOSTNAME imply ORIGIN
- Date: Thu, 7 Jul 2016 19:43:15 +0000 (UTC)
commit 53608cb2a44e4cbd3ec432af08cbcaf352734d74
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 7 10:09:05 2016 +0100
trivial: Make ORIGIN_HOSTNAME imply ORIGIN
src/gs-plugin-loader.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 520feb3..1eb66f6 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -297,6 +297,10 @@ gs_plugin_loader_run_refine_internal (GsPluginLoader *plugin_loader,
const gchar *function_name = "gs_plugin_refine";
gboolean ret = TRUE;
+ /* this implies the other */
+ if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN_HOSTNAME)
+ flags |= GS_PLUGIN_REFINE_FLAGS_REQUIRE_ORIGIN;
+
/* try to adopt each application with a plugin */
gs_plugin_loader_run_adopt (plugin_loader, list);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]