Commit 41be6855 authored by Cosimo Cecchi's avatar Cosimo Cecchi

icon-view: fix thumbnails not showing regression

This was introduced in 241e4620 - 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
parent 3afedfc0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment