summaryrefslogtreecommitdiff
path: root/sc/uiconfig
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@pardus.org.tr>2016-05-26 15:40:31 +0300
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-05-27 09:11:27 +0000
commit7a06806a8d7f541855a90a1eab8f4b7c6539ab63 (patch)
tree4696c9def561c937af5dc5b7e6ac558d1cfe8dd8 /sc/uiconfig
parente4358002ace626c20a9e4069b9417073d09d8140 (diff)
Move accessibility relations to .ui files tdf#87026
Get rid of SetAccessibleRelationLabeledBy and SetAccessibleName in C++ files by moving the relations to .ui files. Change-Id: I8b425a0c7d923ff6f99540f0a6c18112f6f4d0c0 Reviewed-on: https://gerrit.libreoffice.org/25518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'sc/uiconfig')
-rw-r--r--sc/uiconfig/scalc/ui/sidebaralignment.ui49
-rw-r--r--sc/uiconfig/scalc/ui/sidebarnumberformat.ui20
2 files changed, 51 insertions, 18 deletions
diff --git a/sc/uiconfig/scalc/ui/sidebaralignment.ui b/sc/uiconfig/scalc/ui/sidebaralignment.ui
index c718eabc7f0d..b0d3c5f9e5a5 100644
--- a/sc/uiconfig/scalc/ui/sidebaralignment.ui
+++ b/sc/uiconfig/scalc/ui/sidebaralignment.ui
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.0"/>
+ <requires lib="LibreOffice" version="1.0"/>
<object class="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -227,7 +228,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="homogenous">True</property>
+ <property name="homogeneous">True</property>
</packing>
</child>
<child>
@@ -240,7 +241,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="homogenous">True</property>
+ <property name="homogeneous">True</property>
</packing>
</child>
</object>
@@ -253,10 +254,10 @@
<object class="GtkLabel" id="leftindentlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes">_Indent:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">leftindent:0pt</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -278,6 +279,14 @@
<property name="tooltip_markup" translatable="yes">Indents from the left edge.</property>
<property name="tooltip_text" translatable="yes">Indents from the left edge.</property>
<property name="invisible_char">•</property>
+ <accessibility>
+ <relation type="labelled-by" target="leftindentlabel"/>
+ </accessibility>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="leftindent:0pt-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Left Indent</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -361,9 +370,9 @@
<object class="GtkLabel" id="orientationlabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes">Text _orientation:</property>
<property name="use_underline">True</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -373,12 +382,20 @@
</child>
<child>
<object class="VclComboBoxNumeric" id="orientationdegrees:0degrees">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Select the angle for rotation.</property>
- <property name="tooltip_text" translatable="yes">Select the angle for rotation.</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Select the angle for rotation.</property>
+ <property name="tooltip_text" translatable="yes">Select the angle for rotation.</property>
+ <accessibility>
+ <relation type="labelled-by" target="orientationlabel"/>
+ </accessibility>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="orientationdegrees:0degrees-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Text Orientation</property>
</object>
+ </child>
+ </object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
@@ -394,10 +411,10 @@
<object class="GtkRadioButton" id="bottom">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Text Extension From Lower Cell Border</property>
+ <property name="focus_on_click">False</property>
<property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Text Extension From Lower Cell Border</property>
<property name="image">image3</property>
- <property name="focus_on_click">False</property>
<property name="xalign">0</property>
<property name="always_show_image">True</property>
<property name="draw_indicator">False</property>
@@ -412,10 +429,10 @@
<object class="GtkRadioButton" id="top">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Text Extension From Upper Cell Border</property>
+ <property name="focus_on_click">False</property>
<property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Text Extension From Upper Cell Border</property>
<property name="image">image2</property>
- <property name="focus_on_click">False</property>
<property name="xalign">0</property>
<property name="always_show_image">True</property>
<property name="draw_indicator">False</property>
@@ -430,10 +447,10 @@
<object class="GtkRadioButton" id="standard">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="tooltip_text" translatable="yes">Text Extension Inside Cell</property>
+ <property name="focus_on_click">False</property>
<property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Text Extension Inside Cell</property>
<property name="image">image1</property>
- <property name="focus_on_click">False</property>
<property name="xalign">0</property>
<property name="always_show_image">True</property>
<property name="draw_indicator">False</property>
diff --git a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui
index 57bb762a324f..6572ad23369f 100644
--- a/sc/uiconfig/scalc/ui/sidebarnumberformat.ui
+++ b/sc/uiconfig/scalc/ui/sidebarnumberformat.ui
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.3 -->
+<!-- Generated with glade 3.20.0 -->
<interface>
<requires lib="gtk+" version="3.0"/>
+ <requires lib="LibreOffice" version="1.0"/>
<object class="GtkGrid" id="NumberFormatPropertyPanel">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -39,6 +40,11 @@
<item translatable="yes">Boolean Value</item>
<item translatable="yes">Text</item>
</items>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="category-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Category</property>
+ </object>
+ </child>
</object>
<packing>
<property name="left_attach">0</property>
@@ -135,6 +141,11 @@
<property name="tooltip_markup" translatable="yes">Enter the number of decimal places that you want to display.</property>
<property name="tooltip_text" translatable="yes">Enter the number of decimal places that you want to display.</property>
<property name="invisible_char">•</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="decimalplaces-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Decimal Places</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -159,10 +170,10 @@
<object class="GtkLabel" id="leadingzeroeslabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
<property name="label" translatable="yes">Leading _zeroes:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">leadingzeroes</property>
+ <property name="xalign">0</property>
</object>
<packing>
<property name="expand">False</property>
@@ -178,6 +189,11 @@
<property name="tooltip_markup" translatable="yes">Enter the maximum number of zeroes to display before the decimal point.</property>
<property name="tooltip_text" translatable="yes">Enter the maximum number of zeroes to display before the decimal point.</property>
<property name="invisible_char">•</property>
+ <child internal-child="accessible">
+ <object class="AtkObject" id="leadingzeroes-atkobject">
+ <property name="AtkObject::accessible-name" translatable="yes">Leading Zeroes</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">False</property>