summaryrefslogtreecommitdiff
path: root/src/resources/ui/nautilus-properties-window.ui
diff options
context:
space:
mode:
authorAntónio Fernandes <antoniof@gnome.org>2022-07-23 20:32:09 +0200
committerAntónio Fernandes <antoniof@gnome.org>2022-07-28 19:16:34 +0100
commita451c763b4164e41842dcf3ef96eec2f44d6245b (patch)
tree6eab3f5d73ff4e517c59682d5cc95eddc25b52f5 /src/resources/ui/nautilus-properties-window.ui
parent2a1d8c61569cb744d97d0cbf968d5f7c3e67ffb8 (diff)
downloadnautilus-a451c763b4164e41842dcf3ef96eec2f44d6245b.tar.gz
properties-window: Show Executable switch in main page
And only for the files where it makes sense: binaries, text files, etc.
Diffstat (limited to 'src/resources/ui/nautilus-properties-window.ui')
-rw-r--r--src/resources/ui/nautilus-properties-window.ui56
1 files changed, 14 insertions, 42 deletions
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index b27a32f57..9db3c6279 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -581,6 +581,20 @@
</child>
</object>
</child>
+ <child>
+ <object class="AdwActionRow" id="execution_row">
+ <property name="visible">False</property>
+ <property name="activatable">True</property>
+ <property name="title" translatable="yes">_Executable as Program</property>
+ <property name="use-underline">True</property>
+ <child>
+ <object class="GtkSwitch" id="execution_switch">
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ </object>
+ </child>
+ </object>
+ </child>
<style>
<class name="boxed-list"/>
</style>
@@ -989,48 +1003,6 @@
</object>
</child>
<child>
- <object class="GtkListBox" id="execution_list_box">
- <property name="visible">False</property>
- <property name="selection-mode">none</property>
- <child>
- <object class="AdwActionRow" id="execution_row">
- <property name="activatable">True</property>
- <property name="title" translatable="yes">_Executable as Program</property>
- <property name="tooltip-text" translatable="yes">Not all files are marked executable for all users</property>
- <property name="use-underline">True</property>
- <child>
- <object class="GtkBox">
- <property name="spacing">6</property>
- <child>
- <object class="GtkRevealer" id="execution_inconsistent_revealer">
- <property name="transition-type">crossfade</property>
- <property name="reveal-child">False</property>
- <child>
- <object class="GtkLabel">
- <property name="label" translatable="yes">Inconsistent</property>
- <style>
- <class name="dim-label"/>
- </style>
- </object>
- </child>
- </object>
- </child>
- <child>
- <object class="GtkSwitch" id="execution_switch">
- <property name="halign">center</property>
- <property name="valign">center</property>
- </object>
- </child>
- </object>
- </child>
- </object>
- </child>
- <style>
- <class name="boxed-list"/>
- </style>
- </object>
- </child>
- <child>
<object class="GtkListBox" id="security_context_list_box">
<property name="visible">False</property>
<child>