Mercurial > geeqie
diff src/rcfile.c @ 764:ae618ebec3e9
Save properties window width and height to rc file and restore
them on next session if layout.save_window_positions is set to TRUE.
author | zas_ |
---|---|
date | Thu, 29 May 2008 07:52:05 +0000 |
parents | 77ff94c0490a |
children | ff51413f098d |
line wrap: on
line diff
--- a/src/rcfile.c Wed May 28 22:12:10 2008 +0000 +++ b/src/rcfile.c Thu May 29 07:52:05 2008 +0000 @@ -396,6 +396,10 @@ WRITE_INT(layout.float_window.vdivider_pos); WRITE_SEPARATOR(); + WRITE_INT(layout.properties_window.w); + WRITE_INT(layout.properties_window.h); + WRITE_SEPARATOR(); + WRITE_BOOL(layout.tools_float); WRITE_BOOL(layout.tools_hidden); WRITE_BOOL(layout.tools_restore_state); @@ -733,13 +737,18 @@ READ_INT(layout.main_window.w); READ_INT(layout.main_window.h); READ_BOOL(layout.main_window.maximized); + READ_INT(layout.main_window.hdivider_pos); + READ_INT(layout.main_window.vdivider_pos); + READ_INT(layout.float_window.x); READ_INT(layout.float_window.y); READ_INT(layout.float_window.w); READ_INT(layout.float_window.h); READ_INT(layout.float_window.vdivider_pos); - READ_INT(layout.main_window.hdivider_pos); - READ_INT(layout.main_window.vdivider_pos); + + READ_INT(layout.properties_window.w); + READ_INT(layout.properties_window.h); + READ_BOOL(layout.tools_float); READ_BOOL(layout.tools_hidden); READ_BOOL(layout.tools_restore_state);