projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0db9254
)
Move sync_options_with_current_state() call to save_options().
author
Laurent Monin
<geeqie@norz.org>
Sun, 31 Aug 2008 08:59:39 +0000
(08:59 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Sun, 31 Aug 2008 08:59:39 +0000
(08:59 +0000)
src/main.c
patch
|
blob
|
history
src/rcfile.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
7f0e1f9
..
78ed59c
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-612,7
+612,6
@@
static void exit_program_final(void)
collect_manager_flush();
- sync_options_with_current_state(options);
save_options(options);
keys_save();
accel_map_save();
diff --git
a/src/rcfile.c
b/src/rcfile.c
index
6d921d0
..
c117247
100644
(file)
--- a/
src/rcfile.c
+++ b/
src/rcfile.c
@@
-643,6
+643,8
@@
void save_options(ConfOptions *options)
{
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);