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




commit 48cacf98ea062700e3cfa1e76577271038ab09c7
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]