[nautilus/wip/corey/properties: 41/44] properties: Don't show created and modified times for root
- From: Corey Berla <coreyberla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/corey/properties: 41/44] properties: Don't show created and modified times for root
- Date: Wed, 24 Aug 2022 20:21:52 +0000 (UTC)
commit c07dcf7c1a517b216964d56c68ebbb08315e50cb
Author: Corey Berla <corey berla me>
Date: Tue Aug 23 10:22:57 2022 -0700
properties: Don't show created and modified times for root
It doesn't make sense.
src/nautilus-properties-window.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index f33606cbd..6b48c8340 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -2432,13 +2432,13 @@ should_show_accessed_date (NautilusPropertiesWindow *self)
static gboolean
should_show_modified_date (NautilusPropertiesWindow *self)
{
- return !is_multi_file_window (self);
+ return !(is_multi_file_window (self) || is_root_directory (get_original_file (self)));
}
static gboolean
should_show_created_date (NautilusPropertiesWindow *self)
{
- return !is_multi_file_window (self);
+ return !(is_multi_file_window (self) || is_root_directory (get_original_file (self)));
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]