From b2ed250db10b27a8dae48dd4ab279ca66a3d3cb8 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Sat, 3 Feb 2018 22:33:53 +0000 Subject: [PATCH] Change gsettings upgrade test so old_maj_min is < 207 With the original value of 208, the use-gnucash-color-theme kept on being reset to what ever the use-theme-colors was, by default false. --- libgnucash/app-utils/gnc-gsettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libgnucash/app-utils/gnc-gsettings.c b/libgnucash/app-utils/gnc-gsettings.c index 92a6edd8f3..6e174eebb1 100644 --- a/libgnucash/app-utils/gnc-gsettings.c +++ b/libgnucash/app-utils/gnc-gsettings.c @@ -837,8 +837,8 @@ void gnc_gsettings_version_upgrade (void) if (!gnc_gsettings_get_bool (GNC_PREFS_GROUP_GENERAL, GNC_PREF_MIGRATE_PREFS_DONE)) gnc_gsettings_migrate_from_gconf (); - /* Convert settings to 2.8 compatibility level */ - if (old_maj_min < 208) + /* Convert settings to 3.0 compatibility level */ + if (old_maj_min < 207) { /* 'use-theme-colors' has been replaced with 'use-gnucash-color-theme' * which inverts the meaning of the setting */