mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-24 18:25:50 +00:00
app-chooser: Put the AdwActionRow in a GtkListBox
eac32fcad6
added an action row which
inherits from a GtkListBoxRow without putting it in a GtkListBox
(or something that inherits from GtkListBox like AdwPerferencesGroup).
This caused the activatable-widget not to work. Put the row in a
GtkListBox since we don't want any of the other styles from Adw
This commit is contained in:
parent
038d16ef66
commit
03871cad3b
|
@ -68,15 +68,22 @@
|
||||||
<object class="GtkSeparator"/>
|
<object class="GtkSeparator"/>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="AdwActionRow" id="set_default_row">
|
<object class="GtkListBox">
|
||||||
<property name="hexpand">true</property>
|
<style>
|
||||||
<property name="selectable">false</property>
|
<class name="background"/>
|
||||||
<property name="activatable-widget">set_as_default_switch</property>
|
</style>
|
||||||
<property name="title" translatable="yes">Always use for this file type</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkSwitch" id="set_as_default_switch">
|
<object class="AdwActionRow" id="set_default_row">
|
||||||
<property name="halign">end</property>
|
<property name="hexpand">true</property>
|
||||||
<property name="valign">center</property>
|
<property name="selectable">false</property>
|
||||||
|
<property name="activatable-widget">set_as_default_switch</property>
|
||||||
|
<property name="title" translatable="yes">Always use for this file type</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSwitch" id="set_as_default_switch">
|
||||||
|
<property name="halign">end</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
|
Loading…
Reference in a new issue