[nautilus/wip/corey/properties: 39/44] properties: Don't allow changing the icon for root filesystem
- From: Corey Berla <coreyberla src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/corey/properties: 39/44] properties: Don't allow changing the icon for root filesystem
- Date: Wed, 24 Aug 2022 20:21:52 +0000 (UTC)
commit b6f2528b97d92f653b081583e919c6a64d58778d
Author: Corey Berla <corey berla me>
Date: Tue Aug 23 09:51:03 2022 -0700
properties: Don't allow changing the icon for root filesystem
src/nautilus-properties-window.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/nautilus-properties-window.c b/src/nautilus-properties-window.c
index e8b5816ea..67f88ea08 100644
--- a/src/nautilus-properties-window.c
+++ b/src/nautilus-properties-window.c
@@ -2319,7 +2319,8 @@ is_volume_properties (NautilusPropertiesWindow *self)
static gboolean
should_show_custom_icon_buttons (NautilusPropertiesWindow *self)
{
- if (is_multi_file_window (self) || is_volume_properties (self))
+ if (is_multi_file_window (self) || is_volume_properties (self) ||
+ is_root_directory (get_original_file (self)))
{
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]