Oops, forgot keyfile.c.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1562 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2007-05-23 14:04:20 +00:00
parent c1f109bc13
commit bd205a7374
2 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,9 @@
2007-05-23 Enrico Tröger <enrico.troeger@uvena.de>
* src/vte.c: Add popup menu item: Change current working directory.
* geany.glade, src/dialogs.c, src/geany.h, src/interface.c, src/main.c,
src/prefs.c: Add default startup directory option (closes #1704988).
* geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c:
Add default startup directory option (closes #1704988).
2007-05-23 Nick Treleaven <nick.treleaven@btinternet.com>

View File

@ -228,6 +228,7 @@ void configuration_save()
g_key_file_set_string(config, "VTE", "last_dir", vte_info.dir);
}
#endif
g_key_file_set_string(config, PACKAGE, "default_open_path", app->default_open_path);
g_key_file_set_string(config, PACKAGE, "custom_date_format", app->custom_date_format);
g_key_file_set_string(config, PACKAGE, "context_action_cmd", app->context_action_cmd);
if (app->custom_commands != NULL)
@ -404,6 +405,7 @@ gboolean configuration_load()
app->switch_msgwin_pages = utils_get_setting_boolean(config, PACKAGE, "switch_msgwin_pages", FALSE);
app->custom_date_format = utils_get_setting_string(config, PACKAGE, "custom_date_format", "");
app->context_action_cmd = utils_get_setting_string(config, PACKAGE, "context_action_cmd", "");
app->default_open_path = utils_get_setting_string(config, PACKAGE, "default_open_path", "");
app->custom_commands = g_key_file_get_string_list(config, PACKAGE, "custom_commands", NULL, NULL);
app->editor_font = utils_get_setting_string(config, PACKAGE, "editor_font", GEANY_DEFAULT_FONT_EDITOR);
app->tagbar_font = utils_get_setting_string(config, PACKAGE, "tagbar_font", GEANY_DEFAULT_FONT_SYMBOL_LIST);