summaryrefslogtreecommitdiff
path: root/src/resources/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/ui')
-rw-r--r--src/resources/ui/nautilus-app-chooser.ui66
1 files changed, 41 insertions, 25 deletions
diff --git a/src/resources/ui/nautilus-app-chooser.ui b/src/resources/ui/nautilus-app-chooser.ui
index 5c2eb95f5..b99623822 100644
--- a/src/resources/ui/nautilus-app-chooser.ui
+++ b/src/resources/ui/nautilus-app-chooser.ui
@@ -19,14 +19,14 @@
<property name="name">list</property>
<property name="child">
<object class="GtkScrolledWindow">
+ <property name="margin-top">18</property>
+ <property name="margin-bottom">18</property>
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
<property name="hscrollbar-policy">never</property>
<property name="vexpand">true</property>
<property name="child">
<object class="AdwClamp">
- <property name="margin-top">12</property>
- <property name="margin-bottom">12</property>
- <property name="margin-start">12</property>
- <property name="margin-end">12</property>
<style>
<class name="background"/>
</style>
@@ -36,31 +36,12 @@
<property name="spacing">12</property>
<child>
<object class="GtkBox" id="app_chooser_widget_box">
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
<property name="vexpand">True</property>
<property name="orientation">vertical</property>
</object>
</child>
- <child>
- <object class="GtkBox">
- <property name="spacing">6</property>
- <child>
- <object class="GtkButton" id="reset_button">
- <property name="label" translatable="yes">_Reset</property>
- <property name="use-underline">True</property>
- <property name="focusable">True</property>
- <property name="receives_default">True</property>
- <property name="hexpand">True</property>
- <property name="halign">start</property>
- </object>
- </child>
- <child>
- <object class="GtkButton" id="set_as_default_button">
- <property name="label" translatable="yes">Set as _Default</property>
- <property name="use-underline">True</property>
- </object>
- </child>
- </object>
- </child>
</object>
</property>
</object>
@@ -71,6 +52,40 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkBox" id="set_default_box">
+ <property name="margin-bottom">18</property>
+ <property name="margin-start">18</property>
+ <property name="margin-end">18</property>
+ <child>
+ <object class="GtkBox">
+ <property name="orientation">vertical</property>
+ <child>
+ <object class="GtkLabel">
+ <property name="halign">start</property>
+ <property name="hexpand">True</property>
+ <property name="label" translatable="yes">Always use for this file type</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label_content_type_description">
+ <property name="halign">start</property>
+ <style>
+ <class name="dim-label"/>
+ <class name="caption"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
+ <child>
+ <object class="GtkSwitch" id="set_as_default_switch">
+ <property name="halign">end</property>
+ <property name="valign">center</property>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
<child type="action">
@@ -84,6 +99,7 @@
<property name="label" translatable="yes">_Open</property>
<property name="use-underline">True</property>
<property name="sensitive">False</property>
+ <signal name="clicked" object="NautilusAppChooser" handler="open_button_clicked_cb" swapped="no"/>
</object>
</child>
<action-widgets>