Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split geany.conf into geany.conf (preferences) and session.conf (recent files and VTE session) #2776

Merged
merged 7 commits into from Apr 7, 2021
Merged
4 changes: 2 additions & 2 deletions src/keyfile.c
Expand Up @@ -685,7 +685,7 @@ void configuration_save(void)
* it is probably not very efficient to write both files every time
* could be more selective about which file is saved when */
write_config_file(PREFERENCES_FILE, PREFERENCES);
write_config_file("session.conf", SESSION);
write_config_file(SESSION_FILE, SESSION);
}

static void load_recent_files(GKeyFile *config, GQueue *queue, const gchar *key)
Expand Down Expand Up @@ -1146,7 +1146,7 @@ void configuration_save_default_session(void)

void configuration_clear_default_session(void)
{
gchar *configfile = g_build_filename(app->configdir, PREFERENCES_FILE, NULL);
gchar *configfile = g_build_filename(app->configdir, SESSION_FILE, NULL);
gchar *data;
GKeyFile *config = g_key_file_new();

Expand Down