[gthumb] avoid thumbnail jumps



commit c630ad05089e8fcb59dbaa1536f54756c5dd5087
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Mar 13 22:43:50 2010 +0100

    avoid thumbnail jumps
    
    do not load thumbnails for non-visible files located before the
    visible ones.
    
    [bug #603642]

 gthumb/gth-file-list.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-file-list.c b/gthumb/gth-file-list.c
index e8a676c..9af00d6 100644
--- a/gthumb/gth-file-list.c
+++ b/gthumb/gth-file-list.c
@@ -1377,8 +1377,8 @@ _gth_file_list_update_next_thumb (GthFileList *file_list)
 		}
 
 		/* ...continue from the one before the first visible upward to
-		 * the first one */
-
+		 * the first one.
+		 * Don't do this to avoid thumbnail jumps (see bug #603642)
 		if (new_pos == -1) {
 			pos = first_pos - 1;
 			scan = g_list_nth (list, pos);
@@ -1392,6 +1392,7 @@ _gth_file_list_update_next_thumb (GthFileList *file_list)
 				scan = scan->prev;
 			}
 		}
+		*/
 	}
 
 	if (new_pos != -1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]