summaryrefslogtreecommitdiff
path: root/sw/uiconfig/swriter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-27 08:28:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-27 12:55:43 +0000
commit6b642358640fcb060d14105991f83172e06723a4 (patch)
treecea47a8c297214dc2ae757d38e4ab08e4875725d /sw/uiconfig/swriter
parentafbd5787b5412f5ed8f862a9cae9dee5fd346f3f (diff)
move SetAccessibleRelationLabeledBy relations into .ui and out of code
Change-Id: Ieb43e08519b72d4baebd5d004e4c9fd60daa40d4
Diffstat (limited to 'sw/uiconfig/swriter')
-rw-r--r--sw/uiconfig/swriter/ui/columnpage.ui61
-rw-r--r--sw/uiconfig/swriter/ui/sortdialog.ui38
2 files changed, 87 insertions, 12 deletions
diff --git a/sw/uiconfig/swriter/ui/columnpage.ui b/sw/uiconfig/swriter/ui/columnpage.ui
index 1565167f077e..e19eb61e87a2 100644
--- a/sw/uiconfig/swriter/ui/columnpage.ui
+++ b/sw/uiconfig/swriter/ui/columnpage.ui
@@ -33,6 +33,18 @@
<property name="step_increment">1</property>
<property name="page_increment">10</property>
</object>
+ <object class="GtkImage" id="image7">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stock">gtk-go-back</property>
+ <property name="icon-size">1</property>
+ </object>
+ <object class="GtkImage" id="image8">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="stock">gtk-go-forward</property>
+ <property name="icon-size">1</property>
+ </object>
<object class="GtkGrid" id="ColumnPage">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -308,6 +320,10 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Column</property>
+ <accessibility>
+ <relation type="label-for" target="back"/>
+ <relation type="label-for" target="next"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -323,6 +339,7 @@
<property name="hexpand">True</property>
<property name="label">_1</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">width1mf:0.00cm</property>
</object>
<packing>
<property name="left_attach">2</property>
@@ -338,6 +355,7 @@
<property name="hexpand">True</property>
<property name="label">_2</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">width2mf:0.00cm</property>
<attributes>
<attribute name="background" value="#ffffffffffff"/>
</attributes>
@@ -356,6 +374,7 @@
<property name="hexpand">True</property>
<property name="label">_3</property>
<property name="use_underline">True</property>
+ <property name="mnemonic_widget">width3mf:0.00cm</property>
</object>
<packing>
<property name="left_attach">4</property>
@@ -370,6 +389,11 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Width</property>
+ <accessibility>
+ <relation type="label-for" target="width3mf:0.00cm"/>
+ <relation type="label-for" target="width2mf:0.00cm"/>
+ <relation type="label-for" target="width1mf:0.00cm"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -388,6 +412,9 @@
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment2</property>
<property name="digits">2</property>
+ <accessibility>
+ <relation type="labelled-by" target="widthft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">4</property>
@@ -406,6 +433,9 @@
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment2</property>
<property name="digits">2</property>
+ <accessibility>
+ <relation type="labelled-by" target="widthft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">3</property>
@@ -424,6 +454,9 @@
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment2</property>
<property name="digits">2</property>
+ <accessibility>
+ <relation type="labelled-by" target="widthft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">2</property>
@@ -438,6 +471,10 @@
<property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">Spacing</property>
+ <accessibility>
+ <relation type="label-for" target="spacing1mf:0.00cm"/>
+ <relation type="label-for" target="spacing2mf:0.00cm"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -461,6 +498,9 @@
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment3</property>
<property name="digits">2</property>
+ <accessibility>
+ <relation type="labelled-by" target="distft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -478,6 +518,9 @@
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment3</property>
<property name="digits">2</property>
+ <accessibility>
+ <relation type="labelled-by" target="distft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -517,6 +560,9 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="image">image7</property>
+ <accessibility>
+ <relation type="labelled-by" target="columnft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -531,6 +577,9 @@
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="image">image8</property>
+ <accessibility>
+ <relation type="labelled-by" target="columnft"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">5</property>
@@ -783,18 +832,6 @@
</packing>
</child>
</object>
- <object class="GtkImage" id="image7">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="stock">gtk-go-back</property>
- <property name="icon-size">1</property>
- </object>
- <object class="GtkImage" id="image8">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="stock">gtk-go-forward</property>
- <property name="icon-size">1</property>
- </object>
<object class="GtkListStore" id="liststore1">
<columns>
<!-- column-name gchararray1 -->
diff --git a/sw/uiconfig/swriter/ui/sortdialog.ui b/sw/uiconfig/swriter/ui/sortdialog.ui
index bbf1b8615750..247344bb54de 100644
--- a/sw/uiconfig/swriter/ui/sortdialog.ui
+++ b/sw/uiconfig/swriter/ui/sortdialog.ui
@@ -100,6 +100,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Column</property>
+ <accessibility>
+ <relation type="label-for" target="colsb1"/>
+ <relation type="label-for" target="colsb2"/>
+ <relation type="label-for" target="colsb3"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -113,6 +118,11 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Key type</property>
+ <accessibility>
+ <relation type="label-for" target="typelb1"/>
+ <relation type="label-for" target="typelb2"/>
+ <relation type="label-for" target="typelb3"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">2</property>
@@ -339,6 +349,9 @@
<property name="invisible_char">•</property>
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment1</property>
+ <accessibility>
+ <relation type="labelled-by" target="column"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -355,6 +368,9 @@
<property name="invisible_char">•</property>
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment1</property>
+ <accessibility>
+ <relation type="labelled-by" target="column"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -371,6 +387,9 @@
<property name="invisible_char">•</property>
<property name="invisible_char_set">True</property>
<property name="adjustment">adjustment1</property>
+ <accessibility>
+ <relation type="labelled-by" target="column"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>
@@ -385,6 +404,9 @@
<property name="can_focus">False</property>
<property name="valign">center</property>
<property name="entry_text_column">0</property>
+ <accessibility>
+ <relation type="labelled-by" target="keytype"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">2</property>
@@ -400,6 +422,9 @@
<property name="can_focus">False</property>
<property name="valign">center</property>
<property name="button_sensitivity">off</property>
+ <accessibility>
+ <relation type="labelled-by" target="keytype"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">2</property>
@@ -413,6 +438,9 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
+ <accessibility>
+ <relation type="labelled-by" target="keytype"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">2</property>
@@ -572,6 +600,10 @@
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">tabs</property>
+ <accessibility>
+ <relation type="label-for" target="separator"/>
+ <relation type="label-for" target="delimpb"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -592,6 +624,9 @@
<property name="invisible_char">•</property>
<property name="width_chars">1</property>
<property name="invisible_char_set">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="character"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">0</property>
@@ -606,6 +641,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
+ <accessibility>
+ <relation type="labelled-by" target="character"/>
+ </accessibility>
</object>
<packing>
<property name="left_attach">1</property>