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




commit e71cc409649ed23c50af4bbf458953d8dfbc9a3c
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 224aa6e23..3020d77ca 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]