summaryrefslogtreecommitdiff
path: root/src/nautilus-canvas-view.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-07-20 11:20:04 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-07-20 18:41:48 +0200
commit3cf7ad637b06afd7b4f589e4c5674eabee2e9737 (patch)
tree039ee22223248bb23c9b0be5e7f727cc76cd6c72 /src/nautilus-canvas-view.c
parentc19bdcdcd30035beb15fba401fa7bcbbb4fc02bc (diff)
downloadnautilus-3cf7ad637b06afd7b4f589e4c5674eabee2e9737.tar.gz
toolbar: remove access-date menu item
Since we don't longer show it in Recent, the only places where we were showing it.
Diffstat (limited to 'src/nautilus-canvas-view.c')
-rw-r--r--src/nautilus-canvas-view.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nautilus-canvas-view.c b/src/nautilus-canvas-view.c
index e19fb09a9..7bcbebca9 100644
--- a/src/nautilus-canvas-view.c
+++ b/src/nautilus-canvas-view.c
@@ -107,12 +107,6 @@ struct NautilusCanvasViewDetails
gboolean supports_keep_aligned;
};
-static gboolean
-file_is_not_in_recent (NautilusFile *file)
-{
- return !nautilus_file_is_in_recent (file);
-}
-
/* Note that the first item in this list is the default sort,
* and that the items show up in the menu in the order they
* appear in this list.
@@ -137,13 +131,11 @@ static const SortCriterion sort_criteria[] = {
NAUTILUS_FILE_SORT_BY_MTIME,
"modification date",
"modification-date",
- file_is_not_in_recent
},
{
NAUTILUS_FILE_SORT_BY_ATIME,
"access date",
"access-date",
- nautilus_file_is_in_recent
},
{
NAUTILUS_FILE_SORT_BY_TRASHED_TIME,