[nautilus/gtk4-preparation-trunk: 17/64] file: Use thumbnails in list view default zoom
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gtk4-preparation-trunk: 17/64] file: Use thumbnails in list view default zoom
- Date: Thu, 23 Dec 2021 02:10:16 +0000 (UTC)
commit 1d8fcb9ebf4ec84fbc88f1405413f8ca4bdb351e
Author: António Fernandes <antoniof gnome org>
Date: Tue Nov 2 22:48:39 2021 +0000
file: Use thumbnails in list view default zoom
We used to scale down thumbnails to draw a frame of 3px around them,
making the actual thumbnail 6px smaller than it would be otherwise.
This meant that for the default zoom level in list view (32px), the
thumbnail was too small (26px) to actual be useful. Not to mention that
we were downscaling an already downscaled image, with the resulting loss
of quality.
Now, with the frame removed, the thumbnails at their original size of
32 pixels are arguably large and good enough to be useful. Let's make
this the new minimum size for thumbnails.
Closes https://gitlab.gnome.org/GNOME/nautilus/-/issues/398
src/nautilus-file.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-file.h b/src/nautilus-file.h
index 7c966389b..3d1c7f587 100644
--- a/src/nautilus-file.h
+++ b/src/nautilus-file.h
@@ -92,7 +92,7 @@ typedef enum {
NAUTILUS_FILE_ICON_FLAGS_USE_ONE_EMBLEM = (1<<7)
} NautilusFileIconFlags;
-#define NAUTILUS_THUMBNAIL_MINIMUM_ICON_SIZE 48
+#define NAUTILUS_THUMBNAIL_MINIMUM_ICON_SIZE 32
/* Standard Drag & Drop types. */
typedef enum {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]