[gnome-software/1143-odrs-cannot-be-disabled-by-filling-empty-review-server-setting: 215/215] odrs: Cannot be disabled by filling empty 'review-server' setting
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1143-odrs-cannot-be-disabled-by-filling-empty-review-server-setting: 215/215] odrs: Cannot be disabled by filling empty 'review-server' setting
- Date: Wed, 24 Mar 2021 17:59:24 +0000 (UTC)
commit b50003ed83cab2c6cf6654e5972d6ee3e2303eb6
Author: Milan Crha <mcrha redhat com>
Date: Tue Feb 16 16:09:08 2021 +0100
odrs: Cannot be disabled by filling empty 'review-server' setting
Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1143
plugins/odrs/gs-plugin-odrs.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plugins/odrs/gs-plugin-odrs.c b/plugins/odrs/gs-plugin-odrs.c
index f0c0c3b91..2c9bd878d 100644
--- a/plugins/odrs/gs-plugin-odrs.c
+++ b/plugins/odrs/gs-plugin-odrs.c
@@ -175,6 +175,8 @@ gs_plugin_initialize (GsPlugin *plugin)
/* set name of MetaInfo file */
gs_plugin_set_appstream_id (plugin, "org.gnome.Software.Plugin.Odrs");
+
+ gs_plugin_set_enabled (plugin, priv->review_server && *priv->review_server);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]