diff src/image-load.c @ 14:25335c62cd9b

##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. ##### Thu Mar 3 01:16:23 2005 John Ellis <johne@verizon.net> * pan-view.c: Add 'dots' image size option, fix up border size at edge of grid, and make drag and drop work to/from the window. Wed Mar 2 23:34:30 2005 John Ellis <johne@verizon.net> * globals.c, gqview.h, rcfile.c: Add thumbnail_fast option variable. * image-load.c, typedefs.h: Add shrunk flag to determine if an image was scaled down using image_loader_set_requested_size. * image.c: Make panning with mouse scroll more when holding shift key. * preferences.c: Add option for 'Fast jpeg thumbnailing' and disabled xvpics option in the gui - now a hidden option. * thumb.c, thumb_standard.c: Add support for thumbnail_fast option..
author gqview
date Thu, 03 Mar 2005 06:32:53 +0000
parents d907d608745f
children ee03f36e9e4b
line wrap: on
line diff
--- a/src/image-load.c	Wed Mar 02 02:47:53 2005 +0000
+++ b/src/image-load.c	Thu Mar 03 06:32:53 2005 +0000
@@ -102,6 +102,7 @@
 			}
 		
 		gdk_pixbuf_loader_set_size(loader, nw, nh);
+		il->shrunk = TRUE;
 		}
 }
 
@@ -306,6 +307,8 @@
 	g_signal_connect(G_OBJECT(il->loader), "size_prepared",
 			 G_CALLBACK(image_loader_size_cb), il);
 
+	il->shrunk = FALSE;
+
 	return image_loader_begin(il);
 }
 
@@ -333,6 +336,7 @@
 
 	il->requested_width = 0;
 	il->requested_height = 0;
+	il->shrunk = FALSE;
 
 	return il;
 }