[nautilus/wip/antoniof/gtk4-preparation-drop-libgd: 43/45] file: Use thumbnails in list view default zoom




commit 720dafaf3b6b2e3ac69088651b3d79ebd20ec7d8
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]