diff options
author | rbuj <[email protected]> | 2021-03-28 12:07:58 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-04-20 19:40:09 +0200 |
commit | 0eb7520d23cc4ca6cdd9b6c97d3f6cbafcdfc927 (patch) | |
tree | f65d5ff92cb5ca3f62f94881d64232f0c8f0efe0 /src/file-manager | |
parent | a940185ca0ee157b980250d7f2f5bef842e3625f (diff) | |
download | caja-0eb7520d23cc4ca6cdd9b6c97d3f6cbafcdfc927.tar.bz2 caja-0eb7520d23cc4ca6cdd9b6c97d3f6cbafcdfc927.tar.xz |
Add creation time support
Diffstat (limited to 'src/file-manager')
-rw-r--r-- | src/file-manager/fm-icon-view.c | 13 | ||||
-rw-r--r-- | src/file-manager/fm-properties-window.c | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c index 664fd752..b6345018 100644 --- a/src/file-manager/fm-icon-view.c +++ b/src/file-manager/fm-icon-view.c @@ -159,6 +159,13 @@ static const SortCriterion sort_criteria[] = N_("Keep icons sorted by modification date in rows") }, { + CAJA_FILE_SORT_BY_BTIME, + "creation date", + "Sort by Creation Date", + N_("by _Creation Date"), + N_("Keep icons sorted by creation date in rows") + }, + { CAJA_FILE_SORT_BY_EMBLEMS, "emblems", "Sort by Emblems", @@ -1856,6 +1863,12 @@ static const GtkRadioActionEntry arrange_radio_entries[] = CAJA_FILE_SORT_BY_MTIME }, { + "Sort by Creation Date", NULL, + N_("By _Creation Date"), NULL, + N_("Keep icons sorted by creation date in rows"), + CAJA_FILE_SORT_BY_BTIME + }, + { "Sort by Emblems", NULL, N_("By _Emblems"), NULL, N_("Keep icons sorted by emblems in rows"), diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c index e132b60f..944b18f0 100644 --- a/src/file-manager/fm-properties-window.c +++ b/src/file-manager/fm-properties-window.c @@ -3362,6 +3362,10 @@ create_basic_page (FMPropertiesWindow *window) "date_modified", INCONSISTENT_STATE_STRING, FALSE); + append_title_value_pair (window, grid, _("Created:"), + "date_created", + INCONSISTENT_STATE_STRING, + FALSE); } if (should_show_free_space (window)) { |