[gnome-software/wip/kalev/source_selection_drop_down: 1/2] provenance: Don't set provenance flag when we don't have any official repos
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/source_selection_drop_down: 1/2] provenance: Don't set provenance flag when we don't have any official repos
- Date: Wed, 26 Sep 2018 15:16:08 +0000 (UTC)
commit 7b0793a6cc2750d05c0a7d3a50683f778c70115a
Author: Kalev Lember <klember redhat com>
Date: Wed Sep 26 15:01:32 2018 +0200
provenance: Don't set provenance flag when we don't have any official repos
plugins/core/gs-plugin-provenance.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/plugins/core/gs-plugin-provenance.c b/plugins/core/gs-plugin-provenance.c
index 27859e9b..cdc65cf0 100644
--- a/plugins/core/gs-plugin-provenance.c
+++ b/plugins/core/gs-plugin-provenance.c
@@ -101,10 +101,8 @@ gs_plugin_refine_app (GsPlugin *plugin,
/* nothing to search */
sources = priv->sources;
- if (sources == NULL || sources[0] == NULL) {
- gs_app_add_quirk (app, AS_APP_QUIRK_PROVENANCE);
+ if (sources == NULL || sources[0] == NULL)
return TRUE;
- }
/* simple case */
origin = gs_app_get_origin (app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]