[Libreoffice-commits] core.git: sw/uiconfig

Niklas Johansson sleeping.pillow at gmail.com
Fri Jan 30 03:40:08 PST 2015


 sw/uiconfig/swriter/ui/outlinenumberingpage.ui |   16 ++++++++++++++++
 sw/uiconfig/swriter/ui/outlinepositionpage.ui  |   18 ++++++++++++++++++
 2 files changed, 34 insertions(+)

New commits:
commit 9098a2f082f4b8e4404685d19a4e10c3c8160c7b
Author: Niklas Johansson <sleeping.pillow at gmail.com>
Date:   Fri Jan 30 12:00:00 2015 +0100

    tdf#88763 The orca screen reader does not speak control names
    
    It seems the controls aren't linked with the labels in the outline numbering
    dialog box (Tools - Outline Numbering). Add info about mnemonic_widget to the
    labels.
    
    There is still a pending issue with separator before/after which I guess
    should be grouped in a frame, but I'm not confident enough with Glade or
    it's ui format to try and fix it at the moment.
    
    Change-Id: I8dffef703ba03dca31a356426aa5b8a9bc1103be
    Reviewed-on: https://gerrit.libreoffice.org/14255
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/uiconfig/swriter/ui/outlinenumberingpage.ui b/sw/uiconfig/swriter/ui/outlinenumberingpage.ui
index 398da89..32791ce 100644
--- a/sw/uiconfig/swriter/ui/outlinenumberingpage.ui
+++ b/sw/uiconfig/swriter/ui/outlinenumberingpage.ui
@@ -50,6 +50,8 @@
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="label" translatable="yes">Level</property>
+            <property name="use_underline">True</property>
+            <property name="mnemonic_widget">level:border</property>
             <attributes>
               <attribute name="weight" value="bold"/>
             </attributes>
@@ -92,6 +94,8 @@
                         <property name="hexpand">True</property>
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Paragraph style:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">style</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -116,6 +120,8 @@
                         <property name="can_focus">False</property>
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Number:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">numbering</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -128,6 +134,8 @@
                         <property name="can_focus">False</property>
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Character style:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">charstyle</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -140,6 +148,8 @@
                         <property name="can_focus">False</property>
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Show sublevels:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">sublevelsnf</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -238,6 +248,8 @@
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
                             <property name="label" translatable="yes">Before:</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">prefix</property>
                           </object>
                         </child>
                       </object>
@@ -257,6 +269,8 @@
                             <property name="can_focus">False</property>
                             <property name="xalign">0</property>
                             <property name="label" translatable="yes">After:</property>
+                            <property name="use_underline">True</property>
+                            <property name="mnemonic_widget">suffix</property>
                           </object>
                         </child>
                       </object>
@@ -271,6 +285,8 @@
                         <property name="can_focus">False</property>
                         <property name="xalign">0</property>
                         <property name="label" translatable="yes">Start at:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">startat</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
diff --git a/sw/uiconfig/swriter/ui/outlinepositionpage.ui b/sw/uiconfig/swriter/ui/outlinepositionpage.ui
index 064235a..2b8d923 100644
--- a/sw/uiconfig/swriter/ui/outlinepositionpage.ui
+++ b/sw/uiconfig/swriter/ui/outlinepositionpage.ui
@@ -136,6 +136,8 @@
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Numbering alignment:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">numalignlb</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -160,7 +162,9 @@
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Minimum space between
 numbering and text:</property>
+                        <property name="use_underline">True</property>
                         <property name="justify">right</property>
+                        <property name="mnemonic_widget">numdistmf:0.00cm</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -186,6 +190,8 @@ numbering and text:</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Width of numbering:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">numberingwidthmf:0.00cm</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -226,6 +232,8 @@ numbering and text:</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Indent:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">indentmf:0.00cm</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -251,6 +259,8 @@ numbering and text:</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Indent at:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">indentatmf:0.00cm</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -275,6 +285,8 @@ numbering and text:</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Numbering alignment:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">num2alignlb</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -297,6 +309,8 @@ numbering and text:</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Aligned at:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">alignedatmf:0.00cm</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -321,6 +335,8 @@ numbering and text:</property>
                         <property name="can_focus">False</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">at:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">atmf:0.00cm</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>
@@ -357,6 +373,8 @@ numbering and text:</property>
                         <property name="hexpand">True</property>
                         <property name="xalign">1</property>
                         <property name="label" translatable="yes">Numbering followed by:</property>
+                        <property name="use_underline">True</property>
+                        <property name="mnemonic_widget">numfollowedbylb</property>
                       </object>
                       <packing>
                         <property name="left_attach">0</property>


More information about the Libreoffice-commits mailing list