[geany/geany] fcfb1b: session.conf split follow-up
Thomas Martitz
git-noreply at xxxxx
Mon Nov 22 15:56:43 UTC 2021
Branch: refs/heads/master
Author: Thomas Martitz <kugel at rockbox.org>
Committer: Thomas Martitz <kugel at rockbox.org>
Date: Wed, 07 Apr 2021 11:09:06 UTC
Commit: fcfb1b8fe4f4fc4306b335084acf6aecf0cff730
https://github.com/geany/geany/commit/fcfb1b8fe4f4fc4306b335084acf6aecf0cff730
Log Message:
-----------
session.conf split follow-up
Also store prefs within the [project] key in the new session.conf,
that is:
session_file=/path/to/geany.geany
project_file_path=/home/user/Projekte
Modified Paths:
--------------
src/keyfile.c
Modified: src/keyfile.c
4 lines changed, 2 insertions(+), 2 deletions(-)
===================================================================
@@ -653,11 +653,11 @@ void write_config_file(gchar const *filename, ConfigPayload payload)
g_signal_emit_by_name(geany_object, "save-settings", config);
save_dialog_prefs(config);
save_ui_prefs(config);
- project_save_prefs(config); /* save project filename, etc. */
break;
case SESSION:
save_recent_files(config, ui_prefs.recent_queue, "recent_files");
save_recent_files(config, ui_prefs.recent_projects_queue, "recent_projects");
+ project_save_prefs(config); /* save project filename, etc. */
if (cl_options.load_session)
configuration_save_session_files(config);
#ifdef HAVE_VTE
@@ -1199,11 +1199,11 @@ gboolean read_config_file(gchar const *filename, ConfigPayload payload)
case PREFS:
load_dialog_prefs(config);
load_ui_prefs(config);
- project_load_prefs(config);
/* this signal can be used e.g. to delay building UI elements until settings have been read */
g_signal_emit_by_name(geany_object, "load-settings", config);
break;
case SESSION:
+ project_load_prefs(config);
configuration_load_session_files(config, TRUE);
break;
}
--------------
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