[nautilus/wip/antoniof/new-list-view-continuation: 74/86] view-icon-controller: Add missing sort constant




commit 892dfdcbef7a8bbb653e0ac22a6002cc1be067f4
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 d95088a47..30fce4789 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -97,7 +97,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]