summaryrefslogtreecommitdiff
path: root/src/file-manager
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-manager')
-rw-r--r--src/file-manager/fm-properties-window.c23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index 27e77c79..576fd107 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -2652,7 +2652,9 @@ should_show_accessed_date (FMPropertiesWindow *window)
* day decide that it is useful, we should separately
* consider whether it's useful for "trash:".
*/
- if (file_list_all_directories (window->details->target_files)) {
+ if (file_list_all_directories (window->details->target_files)
+ || is_multi_file_window (window))
+ {
return FALSE;
}
@@ -2660,6 +2662,12 @@ should_show_accessed_date (FMPropertiesWindow *window)
}
static gboolean
+should_show_modified_date (FMPropertiesWindow *window)
+{
+ return !is_multi_file_window (window);
+}
+
+static gboolean
should_show_link_target (FMPropertiesWindow *window)
{
if (!is_multi_file_window (window)
@@ -3325,13 +3333,22 @@ create_basic_page (FMPropertiesWindow *window)
FALSE);
}
- if (should_show_accessed_date (window)) {
+ if (should_show_accessed_date (window)
+ || should_show_modified_date (window))
+ {
append_blank_row (grid);
-
+ }
+
+ if (should_show_accessed_date (window))
+ {
append_title_value_pair (window, grid, _("Accessed:"),
"date_accessed",
INCONSISTENT_STATE_STRING,
FALSE);
+ }
+
+ if (should_show_modified_date (window))
+ {
append_title_value_pair (window, grid, _("Modified:"),
"date_modified",
INCONSISTENT_STATE_STRING,