diff options
author | Alexandru Fazakas <alex.fazakas97@yahoo.com> | 2018-02-15 23:54:50 +0200 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-03-24 20:23:58 +0200 |
commit | 44ba721a18ada4176ed24cf8bd4479c062660a16 (patch) | |
tree | 98ca99872167199cc205bb4398586a89e6918021 | |
parent | 1b898dac1c59cba7c71fcdc9e0bb1d2356e34a07 (diff) | |
download | nautilus-44ba721a18ada4176ed24cf8bd4479c062660a16.tar.gz |
nautilus-file: Don't show thumbnails for the first 2 zoom levels
For the SMALL and STANDARD icon sizes, the thumbnails barely give any useful
information, so we shouldn't use them.
This patch solves this issue by not showing thumbnails for the first 2 zoom
levels, only for the LARGE and LARGER ones.
Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/258
-rw-r--r-- | src/nautilus-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-file.c b/src/nautilus-file.c index d6ac35a44..fc765be73 100644 --- a/src/nautilus-file.c +++ b/src/nautilus-file.c @@ -5496,7 +5496,7 @@ nautilus_thumbnail_is_limited_by_zoom (int size, zoom_level = size * scale; - if (zoom_level <= NAUTILUS_LIST_ICON_SIZE_SMALL) + if (zoom_level <= NAUTILUS_LIST_ICON_SIZE_STANDARD) { return TRUE; } |