bluetooth: Fix accessible labels for switches in bluetooth panel

Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
This commit is contained in:
Matthias Clasen 2012-09-13 01:18:55 -04:00
parent 1db660c410
commit 828e896e12

View file

@ -596,6 +596,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="mnemonic-widget">switch_bluetooth</property>
<property name="label" translatable="yes" context="Power" comments="Translator: This string appears next to a toggle switch which controls enabling/disabling Bluetooth radio's on the device.">Bluetooth</property>
<attributes>
<attribute name="weight" value="bold"/>
@ -642,6 +643,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">1</property>
<property name="mnemonic-widget">switch_discoverable</property>
<property name="label">Visibility of “Bastien's computer”</property>
</object>
<packing>