Mercurial > geeqie
diff src/rcfile.c @ 630:83d3ded39e49
An option to save and restore the last path used was added.
This option appears as startup.use_last_path in rc file.
Preferences > General > Startup was modified accordingly.
author | zas_ |
---|---|
date | Sun, 11 May 2008 13:14:58 +0000 |
parents | 1fa2cb6d9d65 |
children | 8cc9f349c670 |
line wrap: on
line diff
--- a/src/rcfile.c Sun May 11 12:23:26 2008 +0000 +++ b/src/rcfile.c Sun May 11 13:14:58 2008 +0000 @@ -325,6 +325,7 @@ WRITE_SUBTITLE("Startup Options"); WRITE_BOOL(startup.restore_path); + WRITE_BOOL(startup.use_last_path); WRITE_CHAR(startup.path); @@ -646,6 +647,8 @@ COMPAT_READ_BOOL(startup_path_enable, startup.restore_path); /* 2008/05/11 */ READ_BOOL(startup.restore_path); + READ_BOOL(startup.use_last_path); + COMPAT_READ_CHAR(startup_path, startup.path); /* 2008/05/11 */ READ_CHAR(startup.path);