[nautilus/wip/antoniof/gtk4-preparation-drop-libgd: 98/100] thumbnails: Use thumbnails in list view default zoom




commit 5f58ea5bbc22a970998106af2fff0363ce9a5662
Author: António Fernandes <antoniof gnome org>
Date:   Tue Nov 2 22:48:39 2021 +0000

    thumbnails: 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-thumbnails.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-thumbnails.h b/src/nautilus-thumbnails.h
index 3557c9a5f..97d76dca3 100644
--- a/src/nautilus-thumbnails.h
+++ b/src/nautilus-thumbnails.h
@@ -24,7 +24,7 @@
 #include <gdk-pixbuf/gdk-pixbuf.h>
 #include "nautilus-file.h"
 
-#define NAUTILUS_THUMBNAIL_MINIMUM_ICON_SIZE 48
+#define NAUTILUS_THUMBNAIL_MINIMUM_ICON_SIZE 32
 
 /* Returns NULL if there's no thumbnail yet. */
 void       nautilus_create_thumbnail                (NautilusFile *file);


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