Mercurial > geeqie.yaz
diff src/layout_image.c @ 334:df868b947aa0
Rename image-related options.
author | zas_ |
---|---|
date | Sat, 12 Apr 2008 15:04:58 +0000 |
parents | 049d6b00cc14 |
children | de1c2cd06fce |
line wrap: on
line diff
--- a/src/layout_image.c Sat Apr 12 09:41:44 2008 +0000 +++ b/src/layout_image.c Sat Apr 12 15:04:58 2008 +0000 @@ -1111,7 +1111,7 @@ image_get_scroll_center(lw->image, &sx, &sy); - image_change_fd(lw->image, fd, image_zoom_get_default(lw->image, options->zoom_mode)); + image_change_fd(lw->image, fd, image_zoom_get_default(lw->image, options->image.zoom_mode)); image_set_scroll_center(lw->image, sx, sy); @@ -1135,7 +1135,7 @@ } */ layout_image_set_fd(lw, fd); - if (options->enable_read_ahead) image_prebuffer_set(lw->image, read_ahead_fd); + if (options->image.enable_read_ahead) image_prebuffer_set(lw->image, read_ahead_fd); } void layout_image_set_index(LayoutWindow *lw, gint index) @@ -1203,8 +1203,8 @@ { if (!layout_valid(&lw)) return; - image_change_from_collection(lw->image, cd, info, image_zoom_get_default(lw->image, options->zoom_mode)); - if (options->enable_read_ahead) + image_change_from_collection(lw->image, cd, info, image_zoom_get_default(lw->image, options->image.zoom_mode)); + if (options->image.enable_read_ahead) { CollectInfo *r_info; if (forward)