gnome-control-center/panels/network/network-bluetooth.ui
Christopher Davis ffeec81f0e network: Use AdwActionRow for NetDeviceBluetooth
Similar to the last commit, we can use a regular
GtkListBox and make the device widget an AdwActionRow.
2022-02-04 17:54:25 +00:00

27 lines
1.2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="NetDeviceBluetooth" parent="AdwActionRow">
<property name="activatable_widget">device_off_switch</property>
<property name="title" translatable="yes">Wired</property>
<child type="suffix">
<object class="GtkSwitch" id="device_off_switch">
<property name="valign">center</property>
<signal name="notify::active" handler="device_off_switch_changed_cb" object="NetDeviceBluetooth" swapped="yes"/>
<accessibility>
<property name="label" translatable="yes">Turn device off</property>
</accessibility>
</object>
</child>
<child type="suffix">
<object class="GtkButton" id="options_button">
<property name="valign">center</property>
<property name="use_underline">True</property>
<property name="icon_name">emblem-system-symbolic</property>
<signal name="clicked" handler="options_button_clicked_cb" object="NetDeviceBluetooth" swapped="yes"/>
<accessibility>
<property name="label" translatable="yes">Options…</property>
</accessibility>
</object>
</child>
</template>
</interface>