[nautilus/wip/antoniof/new-list-view-without-expanders: 10/12] grid-view: Make "medium" the default icon size
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [nautilus/wip/antoniof/new-list-view-without-expanders: 10/12] grid-view: Make "medium" the default icon size
- Date: Tue, 14 Jun 2022 18:01:57 +0000 (UTC)
commit 890045cb244e3b7ba6cd578ebaabe0e9524740ac
Author: António Fernandes <antoniof gnome org>
Date:   Mon Apr 11 20:26:58 2022 +0100
    grid-view: Make "medium" the default icon size
    
    It only makes sense that medium = default.
 src/nautilus-grid-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-grid-view.c b/src/nautilus-grid-view.c
index e9a227601..2a9734e36 100644
--- a/src/nautilus-grid-view.c
+++ b/src/nautilus-grid-view.c
@@ -166,7 +166,7 @@ real_restore_standard_zoom_level (NautilusFilesView *files_view)
     self = NAUTILUS_GRID_VIEW (files_view);
     g_action_group_change_action_state (self->action_group,
                                         "zoom-to-level",
-                                        g_variant_new_int32 (NAUTILUS_GRID_ZOOM_LEVEL_LARGE));
+                                        g_variant_new_int32 (NAUTILUS_GRID_ZOOM_LEVEL_MEDIUM));
 }
 
 static gboolean
@@ -178,7 +178,7 @@ real_is_zoom_level_default (NautilusFilesView *files_view)
     self = NAUTILUS_GRID_VIEW (files_view);
     icon_size = get_icon_size_for_zoom_level (self->zoom_level);
 
-    return icon_size == NAUTILUS_GRID_ICON_SIZE_LARGE;
+    return icon_size == NAUTILUS_GRID_ICON_SIZE_MEDIUM;
 }
 
 static gboolean
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]