gnome-control-center/panels/applications/cc-toggle-row.ui
Georges Basile Stavracas Neto 0bab8a6217 applications: Make CcToggleRow subclass AdwActionRow
Makes paddings, margins, behavior consistent with other panels.
2022-01-20 17:24:25 -03:00

12 lines
402 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcToggleRow" parent="AdwActionRow">
<property name="activatable-widget">toggle</property>
<child>
<object class="GtkSwitch" id="toggle">
<property name="valign">center</property>
<signal name="notify::active" handler="changed_cb" swapped="yes"/>
</object>
</child>
</template>
</interface>