[geany/geany] 1bc7d8: Store project files in base directory by default

Jiří Techet git-noreply at geany.org
Fri May 13 00:19:38 UTC 2022


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sat, 19 Mar 2022 16:50:30 UTC
Commit:      1bc7d8ff4eefc859f9bf2c2bf81d0952f8663c40
             https://github.com/geany/geany/commit/1bc7d8ff4eefc859f9bf2c2bf81d0952f8663c40

Log Message:
-----------
Store project files in base directory by default

Project files are, by default, stored inside the configured "projects"
directory. The problem is that for new users of Geany, the default
~/projects most probably points to a non-existent directory and then,
the project creation experience is not quite optimal.

In addition, this is what most editors do and most Geany newcomers
will expect this behavior.


Modified Paths:
--------------
    src/keyfile.c

Modified: src/keyfile.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -801,7 +801,7 @@ static void load_dialog_prefs(GKeyFile *config)
 	prefs.confirm_exit = utils_get_setting_boolean(config, PACKAGE, "pref_main_confirm_exit", FALSE);
 	prefs.suppress_status_messages = utils_get_setting_boolean(config, PACKAGE, "pref_main_suppress_status_messages", FALSE);
 	prefs.load_session = utils_get_setting_boolean(config, PACKAGE, "pref_main_load_session", TRUE);
-	project_prefs.project_file_in_basedir = utils_get_setting_boolean(config, PACKAGE, "pref_main_project_file_in_basedir", FALSE);
+	project_prefs.project_file_in_basedir = utils_get_setting_boolean(config, PACKAGE, "pref_main_project_file_in_basedir", TRUE);
 	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", prefs.save_winpos);
 	prefs.beep_on_errors = utils_get_setting_boolean(config, PACKAGE, "beep_on_errors", TRUE);



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list