[gnome-software] trivial: Fix the name of the prerelease upgrade setting
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix the name of the prerelease upgrade setting
- Date: Tue, 28 Jun 2016 12:36:13 +0000 (UTC)
commit 1a9c345e4e2bd7e0ffc58eeb61baad9b4d96b016
Author: Richard Hughes <richard hughsie com>
Date: Tue Jun 28 13:35:54 2016 +0100
trivial: Fix the name of the prerelease upgrade setting
data/org.gnome.software.gschema.xml | 2 +-
src/plugins/gs-plugin-fedora-distro-upgrades.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/org.gnome.software.gschema.xml b/data/org.gnome.software.gschema.xml
index fb1b0e7..17bfd74 100644
--- a/data/org.gnome.software.gschema.xml
+++ b/data/org.gnome.software.gschema.xml
@@ -78,7 +78,7 @@
<default>true</default>
<summary>Allow access to the Software Sources dialog</summary>
</key>
- <key name="upgrade-allow-prerelease" type="b">
+ <key name="show-upgrade-prerelease" type="b">
<default>false</default>
<summary>Offer upgrades for pre-releases</summary>
</key>
diff --git a/src/plugins/gs-plugin-fedora-distro-upgrades.c b/src/plugins/gs-plugin-fedora-distro-upgrades.c
index d9905af..83dc1c3 100644
--- a/src/plugins/gs-plugin-fedora-distro-upgrades.c
+++ b/src/plugins/gs-plugin-fedora-distro-upgrades.c
@@ -348,7 +348,7 @@ gs_plugin_add_distro_upgrades (GsPlugin *plugin,
continue;
/* only interested in non-devel distros */
- if (!g_settings_get_boolean (settings, "upgrade-allow-prerelease")) {
+ if (!g_settings_get_boolean (settings, "show-upgrade-prerelease")) {
if (distro_info->status != DISTRO_STATUS_ACTIVE)
continue;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]