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




commit 9614ccb7d745edeaf92af8386b9f81a2c96cd90e
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 0e41a045c..df6252887 100644
--- a/src/nautilus-view-icon-controller.c
+++ b/src/nautilus-view-icon-controller.c
@@ -96,7 +96,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]