Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Thomas Martitz kugel@rockbox.org Date: Tue, 14 Nov 2017 22:11:34 UTC Commit: 4a5ccf748ac2ce13a6c71cc41b354c33b6abd715 https://github.com/geany/geany/commit/4a5ccf748ac2ce13a6c71cc41b354c33b6abd7...
Log Message: ----------- Fix backward compatibility of the geometry saving setting
Keep the previous behavior if the user had disabled saving window position and geometry, by using the existing setting as default for the new one.
Modified Paths: -------------- src/keyfile.c
Modified: src/keyfile.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -760,7 +760,7 @@ static void load_dialog_prefs(GKeyFile *config) project_prefs.project_session = utils_get_setting_boolean(config, PACKAGE, "pref_main_project_session", TRUE); project_prefs.project_file_in_basedir = utils_get_setting_boolean(config, PACKAGE, "pref_main_project_file_in_basedir", FALSE); prefs.save_winpos = utils_get_setting_boolean(config, PACKAGE, "pref_main_save_winpos", TRUE); - prefs.save_wingeom = utils_get_setting_boolean(config, PACKAGE, "pref_main_save_wingeom", TRUE); + prefs.save_wingeom = utils_get_setting_boolean(config, PACKAGE, "pref_main_save_wingeom", prefs.save_winpos); prefs.beep_on_errors = utils_get_setting_boolean(config, PACKAGE, "beep_on_errors", TRUE); prefs.switch_to_status = utils_get_setting_boolean(config, PACKAGE, "switch_msgwin_pages", FALSE); prefs.auto_focus = utils_get_setting_boolean(config, PACKAGE, "auto_focus", FALSE);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).