[nautilus] icon-view: fix thumbnails not showing regression



commit 41be6855f6a0af3cba22910cfb89f3fc9a30f2f6
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jun 18 16:54:10 2012 -0400

    icon-view: fix thumbnails not showing regression
    
    This was introduced in 241e462024070d9f79f4816256fc00ff5119e25f - the
    original code did
    if (!is_compact || zoom > standard)
    
    So since is_compact is now always false, the commit should have removed
    the if block completely.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678351

 src/nautilus-icon-view-container.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-icon-view-container.c b/src/nautilus-icon-view-container.c
index 2b0399c..256fd2b 100644
--- a/src/nautilus-icon-view-container.c
+++ b/src/nautilus-icon-view-container.c
@@ -82,10 +82,8 @@ nautilus_icon_view_container_get_icon_images (NautilusIconContainer *container,
 	
 	*has_window_open = nautilus_file_has_open_window (file);
 
-	flags = NAUTILUS_FILE_ICON_FLAGS_USE_MOUNT_ICON_AS_EMBLEM;
-	if (nautilus_icon_container_get_zoom_level (container) > NAUTILUS_ZOOM_LEVEL_STANDARD) {
-		flags |= NAUTILUS_FILE_ICON_FLAGS_USE_THUMBNAILS;
-	}
+	flags = NAUTILUS_FILE_ICON_FLAGS_USE_MOUNT_ICON_AS_EMBLEM |
+		NAUTILUS_FILE_ICON_FLAGS_USE_THUMBNAILS;
 
 	if (use_embedding) {
 		flags |= NAUTILUS_FILE_ICON_FLAGS_EMBEDDING_TEXT;



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