Mercurial > geeqie
diff src/options.c @ 1484:9c16a93a0fdf
improved sidebar configuration
author | nadvornik |
---|---|
date | Sun, 29 Mar 2009 14:20:44 +0000 |
parents | 6e020d3ab168 |
children | 1b2ddc6b2b27 |
line wrap: on
line diff
--- a/src/options.c Sun Mar 29 10:36:13 2009 +0000 +++ b/src/options.c Sun Mar 29 14:20:44 2009 +0000 @@ -247,7 +247,7 @@ sync_options_with_current_state(options); rc_path = g_build_filename(get_rc_dir(), RC_FILE_NAME, NULL); - save_options_to(rc_path, options); + save_config_to_file(rc_path, options); g_free(rc_path); } @@ -259,13 +259,13 @@ if (isdir(GQ_SYSTEM_WIDE_DIR)) { rc_path = g_build_filename(GQ_SYSTEM_WIDE_DIR, RC_FILE_NAME, NULL); - success = load_options_from(rc_path, options, TRUE); + success = load_config_from_file(rc_path, TRUE); DEBUG_1("Loading options from %s ... %s", rc_path, success ? "done" : "failed"); g_free(rc_path); } rc_path = g_build_filename(get_rc_dir(), RC_FILE_NAME, NULL); - success = load_options_from(rc_path, options, TRUE); + success = load_config_from_file(rc_path, TRUE); DEBUG_1("Loading options from %s ... %s", rc_path, success ? "done" : "failed"); g_free(rc_path); return(success);