using mnemonic-widget is more idiomatic for a simple label for something

Change-Id: I46f9f9fba894819a7efafcfe8c47229c2b3cf8ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150656
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2023-04-19 21:00:19 +01:00
parent d9eb808d61
commit 81a664b8e5
4 changed files with 11 additions and 38 deletions

View file

@ -203,10 +203,8 @@
<property name="can-focus">False</property>
<property name="label" translatable="yes" context="sidebarnumberformat|leadingzeroeslabel">Leading _zeroes:</property>
<property name="use-underline">True</property>
<property name="mnemonic-widget">leadingzeroes</property>
<property name="xalign">0</property>
<accessibility>
<relation type="label-for" target="leadingzeroes"/>
</accessibility>
</object>
<packing>
<property name="left-attach">0</property>
@ -221,9 +219,6 @@
<property name="hexpand">True</property>
<property name="truncate-multiline">True</property>
<property name="adjustment">adjustment1</property>
<accessibility>
<relation type="labelled-by" target="leadingzeroeslabel"/>
</accessibility>
<child internal-child="accessible">
<object class="AtkObject" id="leadingzeroes-atkobject">
<property name="AtkObject::accessible-name" translatable="yes" context="sidebarnumberformat|leadingzeroes-atkobject">Leading Zeroes</property>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<!-- Generated with glade 3.40.0 -->
<interface domain="sc">
<requires lib="gtk+" version="3.20"/>
<object class="GtkBox" id="TopWindow">
@ -98,9 +98,6 @@
<property name="use-underline">True</property>
<property name="draw-indicator">True</property>
<property name="group">rbTopDown</property>
<accessibility>
<relation type="labelled-by" target="lbDirection"/>
</accessibility>
</object>
<packing>
<property name="left-attach">1</property>
@ -112,10 +109,9 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes" context="sortcriteriapage|lbDirection">Direction:</property>
<property name="use-underline">True</property>
<property name="mnemonic-widget">rbTopDown</property>
<property name="xalign">1</property>
<accessibility>
<relation type="label-for" target="rbLeftRight"/>
</accessibility>
</object>
<packing>
<property name="left-attach">0</property>
@ -130,9 +126,6 @@
<property name="receives-default">False</property>
<property name="use-underline">True</property>
<property name="draw-indicator">True</property>
<accessibility>
<relation type="labelled-by" target="lbHeader"/>
</accessibility>
</object>
<packing>
<property name="left-attach">1</property>
@ -144,10 +137,9 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes" context="sortcriteriapage|lbHeader">Headers:</property>
<property name="use-underline">True</property>
<property name="mnemonic-widget">cbHeader</property>
<property name="xalign">1</property>
<accessibility>
<relation type="label-for" target="cbHeader"/>
</accessibility>
</object>
<packing>
<property name="left-attach">0</property>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<!-- Generated with glade 3.40.0 -->
<interface domain="sc">
<requires lib="gtk+" version="3.20"/>
<object class="GtkFrame" id="SortKeyFrame">
@ -29,9 +29,6 @@
<property name="AtkObject::accessible-description" translatable="yes" context="sortkey|extended_tip|sortlb">Select the column that you want to use as the primary sort key.</property>
</object>
</child>
<accessibility>
<relation type="labelled-by" target="lbColRow"/>
</accessibility>
</object>
<packing>
<property name="left-attach">1</property>
@ -84,10 +81,9 @@
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">Column/Row:</property>
<property name="use-underline">True</property>
<property name="mnemonic-widget">sortlb</property>
<property name="xalign">1</property>
<accessibility>
<relation type="label-for" target="sortlb"/>
</accessibility>
</object>
<packing>
<property name="left-attach">0</property>

View file

@ -238,9 +238,7 @@
<property name="halign">start</property>
<property name="label" translatable="yes" context="sortoptionspage|label6">Language</property>
<property name="use-underline">True</property>
<accessibility>
<relation type="label-for" target="language"/>
</accessibility>
<property name="mnemonic-widget">language</property>
</object>
<packing>
<property name="left-attach">0</property>
@ -254,9 +252,7 @@
<property name="halign">start</property>
<property name="label" translatable="yes" context="sortoptionspage|algorithmft">Options</property>
<property name="use-underline">True</property>
<accessibility>
<relation type="label-for" target="algorithmlb"/>
</accessibility>
<property name="mnemonic-widget">algorithmlb</property>
</object>
<packing>
<property name="left-attach">1</property>
@ -278,9 +274,6 @@
<property name="AtkObject::accessible-description" translatable="yes" context="sortoptionspage|extended_tip|language">Select the language for the sorting rules.</property>
</object>
</child>
<accessibility>
<relation type="labelled-by" target="label6"/>
</accessibility>
</object>
<packing>
<property name="left-attach">0</property>
@ -297,9 +290,6 @@
<property name="AtkObject::accessible-description" translatable="yes" context="sortoptionspage|extended_tip|algorithmlb">Select a sorting option for the language.</property>
</object>
</child>
<accessibility>
<relation type="labelled-by" target="algorithmft"/>
</accessibility>
</object>
<packing>
<property name="left-attach">1</property>