changeset 1018:7789dff37086

Move sync_options_with_current_state() call to save_options().
author zas_
date Sun, 31 Aug 2008 08:59:39 +0000
parents a8b874774b83
children 4aa1a6235458
files src/main.c src/rcfile.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main.c	Sun Aug 31 08:41:42 2008 +0000
+++ b/src/main.c	Sun Aug 31 08:59:39 2008 +0000
@@ -612,7 +612,6 @@
 
 	collect_manager_flush();
 
-	sync_options_with_current_state(options);
 	save_options(options);
 	keys_save();
 	accel_map_save();
--- a/src/rcfile.c	Sun Aug 31 08:41:42 2008 +0000
+++ b/src/rcfile.c	Sun Aug 31 08:59:39 2008 +0000
@@ -643,6 +643,8 @@
 {
 	gchar *rc_path;
 
+	sync_options_with_current_state(options);
+
 	rc_path = g_build_filename(homedir(), GQ_RC_DIR, RC_FILE_NAME, NULL);
 	save_options_to(rc_path, options);
 	g_free(rc_path);