[gnome-control-center] universal access: Fix labels for switches in zoom options
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] universal access: Fix labels for switches in zoom options
- Date: Thu, 13 Sep 2012 10:37:30 +0000 (UTC)
commit 539d78cb63e542b6d0e060c9d2e41ea817701458
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 13 06:28:44 2012 -0400
universal access: Fix labels for switches in zoom options
Setting mnemonic-widget on the labels makes orca read out meaningful
text for the switches.
https://bugzilla.gnome.org/show_bug.cgi?id=683703
panels/universal-access/zoom-options.ui | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/panels/universal-access/zoom-options.ui b/panels/universal-access/zoom-options.ui
index fdd79fd..3486247 100644
--- a/panels/universal-access/zoom-options.ui
+++ b/panels/universal-access/zoom-options.ui
@@ -95,6 +95,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Zoom</property>
+ <property name="mnemonic_widget">seeing_zoom_switch</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
@@ -213,6 +214,7 @@
<property name="xalign">0</property>
<property name="ypad">2</property>
<property name="label" translatable="yes">Magnification:</property>
+ <property name="mnemonic_widget">magFactorSpinButton</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
@@ -510,6 +512,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Thickness:</property>
<property name="justify">center</property>
+ <property name="mnemonic_widget">xHairsThicknessSlider</property>
<property name="width_chars">12</property>
<attributes>
<attribute name="scale" value="1.25"/>
@@ -591,6 +594,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Length:</property>
<property name="justify">center</property>
+ <property name="mnemonic_widget">xHairsLengthSlider</property>
<property name="width_chars">12</property>
<accessibility>
<relation type="label-for" target="xHairsLengthSlider"/>
@@ -639,6 +643,7 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Color:</property>
+ <property name="mnemonic_widget">xHairsPicker</property>
<attributes>
<attribute name="scale" value="1.25"/>
</attributes>
@@ -702,6 +707,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes">Crosshairs:</property>
<property name="use_markup">True</property>
+ <property name="mnemonic_widget">xhairsEnabledSwitch</property>
<attributes>
<attribute name="weight" value="bold"/>
<attribute name="scale" value="1.25"/>
@@ -836,6 +842,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">White on black:</property>
<property name="justify">right</property>
+ <property name="mnemonic_widget">inverseEnabledSwitch</property>
<property name="width_chars">12</property>
<accessibility>
<relation type="label-for" target="inverseEnabledSwitch"/>
@@ -858,6 +865,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Brightness:</property>
<property name="justify">right</property>
+ <property name="mnemonic_widget">brightnessSlider</property>
<property name="width_chars">12</property>
<accessibility>
<relation type="label-for" target="brightnessSlider"/>
@@ -880,6 +888,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes">Contrast:</property>
<property name="justify">right</property>
+ <property name="mnemonic_widget">contrastSlider</property>
<accessibility>
<relation type="label-for" target="contrastSlider"/>
</accessibility>
@@ -901,6 +910,7 @@
<property name="xalign">0</property>
<property name="label" translatable="yes" context="Zoom Grayscale">Color</property>
<property name="justify">right</property>
+ <property name="mnemonic_widget">grayscale_slider</property>
<accessibility>
<relation type="label-for" target="grayscale_slider"/>
</accessibility>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]