gnome-control-center/panels/network/network-bluetooth.ui
Automeris naranja fe5257bc9e general: Remove a11y labels when they aren't needed
A11y labels aren't needed when using the "activatable-widget"
property, because the relation is set automatically:

https://gitlab.gnome.org/GNOME/libadwaita/-/blob/main/src/adw-action-row.c#L661
2023-04-12 18:34:20 -03:00

24 lines
1 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"/>
</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>