diff src/thumb_standard.c @ 333:767b53cd9ab7

Rename thumbnails related options.
author zas_
date Sat, 12 Apr 2008 09:41:44 +0000
parents b16b9b8979e5
children f0289d80ecc1
line wrap: on
line diff
--- a/src/thumb_standard.c	Sat Apr 12 09:12:37 2008 +0000
+++ b/src/thumb_standard.c	Sat Apr 12 09:41:44 2008 +0000
@@ -80,7 +80,7 @@
 	tl->il = NULL;
 	tl->source_path = NULL;
 
-	tl->cache_enable = options->enable_thumb_caching;
+	tl->cache_enable = options->thumbnails.enable_caching;
 	tl->cache_local = FALSE;
 	tl->cache_retry = FALSE;
 
@@ -436,7 +436,7 @@
 								  &thumb_w, &thumb_h))
 					{
 					pixbuf_thumb = gdk_pixbuf_scale_simple(pixbuf, thumb_w, thumb_h,
-									       (GdkInterpType)options->thumbnail_quality);
+									       (GdkInterpType)options->thumbnails.quality);
 					}
 				else
 					{
@@ -484,7 +484,7 @@
 						  &thumb_w, &thumb_h))
 			{
 			result = gdk_pixbuf_scale_simple(pixbuf, thumb_w, thumb_h,
-							 (GdkInterpType)options->thumbnail_quality);
+							 (GdkInterpType)options->thumbnails.quality);
 			}
 		else
 			{
@@ -603,7 +603,7 @@
 {
 	tl->il = image_loader_new_from_path(path);
 
-	if (options->thumbnail_fast)
+	if (options->thumbnails.fast)
 		{
 		/* this will speed up jpegs by up to 3x in some cases */
 		if (tl->requested_width <= THUMB_SIZE_NORMAL &&