[nautilus/wip/antoniof/new-list-view-without-expanders: 9/20] view-icon-controller: Add missing sort constant



commit dd1f19a7f0667e1d579a418a548fb0ea59e44d94
Author: AntĂłnio Fernandes <antoniof gnome org>
Date:   Wed Apr 6 00:47:58 2022 +0100

    view-icon-controller: Add missing sort constant

 src/nautilus-view-icon-controller.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/nautilus-view-icon-controller.c b/src/nautilus-view-icon-controller.c
index 445a614e4..42266b534 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -78,7 +78,11 @@ static const SortConstants sorts_constants[] =
     {
         NAUTILUS_FILE_SORT_BY_SEARCH_RELEVANCE,
         "search_relevance",
-    }
+    },
+    {
+        NAUTILUS_FILE_SORT_BY_RECENCY,
+        "recency",
+    },
 };
 
 static guint get_icon_size_for_zoom_level (NautilusGridZoomLevel zoom_level);


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