Mercurial > geeqie
diff src/rcfile.c @ 556:fe675761d091
Replace Layout icon_view field by more generic file_view_type.
Replace option layout.view_as_icons by layout.file_view_type.
author | zas_ |
---|---|
date | Sat, 03 May 2008 11:34:13 +0000 |
parents | 8d9992e2de56 |
children | 905688aa2317 |
line wrap: on
line diff
--- a/src/rcfile.c Sat May 03 10:31:37 2008 +0000 +++ b/src/rcfile.c Sat May 03 11:34:13 2008 +0000 @@ -338,8 +338,8 @@ WRITE_INT(layout.style); WRITE_CHAR(layout.order); - WRITE_BOOL(layout.view_as_icons); WRITE_UINT(layout.dir_view_type); + WRITE_UINT(layout.file_view_type); WRITE_BOOL(layout.show_marks); WRITE_BOOL(layout.show_thumbnails); WRITE_SEPARATOR(); @@ -637,8 +637,11 @@ READ_INT(layout.style); READ_CHAR(layout.order); - READ_BOOL(layout.view_as_icons); + + COMPAT_READ_UINT(layout.view_as_icons, layout.file_view_type); /* 2008/05/03 */ + READ_UINT(layout.dir_view_type); + READ_UINT(layout.file_view_type); READ_BOOL(layout.show_marks); READ_BOOL(layout.show_thumbnails);