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"/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow" id="set_default_row">
|
||||
<property name="hexpand">true</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>
|
||||
<object class="GtkListBox">
|
||||
<style>
|
||||
<class name="background"/>
|
||||
</style>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="set_as_default_switch">
|
||||
<property name="halign">end</property>
|
||||
<property name="valign">center</property>
|
||||
<object class="AdwActionRow" id="set_default_row">
|
||||
<property name="hexpand">true</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>
|
||||
</child>
|
||||
</object>
|
||||
|
|
Loading…
Reference in a new issue