diff src/thumb.c @ 1036:ab24c46aa6e4

load thumbnails with lower priority TODO: maybe implement an exception for visible thumbnails
author nadvornik
date Wed, 03 Sep 2008 21:54:49 +0000
parents fe82830ab8fd
children 5fc64d6252e7
line wrap: on
line diff
--- a/src/thumb.c	Wed Sep 03 21:13:02 2008 +0000
+++ b/src/thumb.c	Wed Sep 03 21:54:49 2008 +0000
@@ -273,6 +273,7 @@
 	image_loader_free(tl->il);
 	tl->il = image_loader_new(fd);
 	file_data_unref(fd);
+	image_loader_set_priority(tl->il, G_PRIORITY_LOW);
 
 	if (options->thumbnails.fast)
 		{