diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-file-management-properties.c | 1 | ||||
-rw-r--r-- | src/caja-file-management-properties.ui | 3 | ||||
-rw-r--r-- | src/file-manager/fm-icon-view.c | 13 | ||||
-rw-r--r-- | src/file-manager/fm-properties-window.c | 4 |
4 files changed, 21 insertions, 0 deletions
diff --git a/src/caja-file-management-properties.c b/src/caja-file-management-properties.c index 3c702cc3..5a4368a7 100644 --- a/src/caja-file-management-properties.c +++ b/src/caja-file-management-properties.c @@ -111,6 +111,7 @@ static const char * const sort_order_values[] = "size_on_disk", "type", "mtime", + "btime", "atime", "emblems", "extension", diff --git a/src/caja-file-management-properties.ui b/src/caja-file-management-properties.ui index 6449694a..80f6e8aa 100644 --- a/src/caja-file-management-properties.ui +++ b/src/caja-file-management-properties.ui @@ -93,6 +93,9 @@ <col id="0" translatable="yes">By Modification Date</col> </row> <row> + <col id="0" translatable="yes">By Creation Date</col> + </row> + <row> <col id="0" translatable="yes">By Access Date</col> </row> <row> 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)) { |