summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@hypra.fr>2018-04-16 10:39:38 +0200
committerKatarina Behrens <Katarina.Behrens@cib.de>2018-04-18 10:25:19 +0200
commite99666c5a764fac14a04d84181f98e96786345aa (patch)
tree4fe39df6e697b3fcc88cbdea945e1c6703ee29db
parent3a585777256d99063d7b8bc5b20982d6f5a57574 (diff)
swriter: Add missing labelling
The page format panel was completely missing labelling. The "Custom" label is actually used a a resource, suppress the labelling warning for it. Change-Id: I1c026f7a743b5da45f244d2527ab2b66165ccd4a Reviewed-on: https://gerrit.libreoffice.org/52946 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
-rw-r--r--solenv/sanitizers/ui/modules/swriter.false1
-rw-r--r--sw/uiconfig/swriter/ui/pageformatpanel.ui5
2 files changed, 6 insertions, 0 deletions
diff --git a/solenv/sanitizers/ui/modules/swriter.false b/solenv/sanitizers/ui/modules/swriter.false
index bbba7d731c7e..83c62dd064b3 100644
--- a/solenv/sanitizers/ui/modules/swriter.false
+++ b/solenv/sanitizers/ui/modules/swriter.false
@@ -1 +1,2 @@
sw/uiconfig/swriter/ui/sortdialog.ui://GtkLabel[@id='order'] orphan-label
+sw/uiconfig/swriter/ui/pageformatpanel.ui://GtkLabel[@id='customlabel'] orphan-label
diff --git a/sw/uiconfig/swriter/ui/pageformatpanel.ui b/sw/uiconfig/swriter/ui/pageformatpanel.ui
index 8c541a4e65ee..579db0800223 100644
--- a/sw/uiconfig/swriter/ui/pageformatpanel.ui
+++ b/sw/uiconfig/swriter/ui/pageformatpanel.ui
@@ -22,6 +22,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="pageformatpanel|size">Size:</property>
<property name="xalign">1</property>
+ <property name="mnemonic_widget">papersize</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -34,6 +35,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="pageformatpanel|width">Width:</property>
<property name="xalign">1</property>
+ <property name="mnemonic_widget">paperwidth</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -46,6 +48,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="pageformatpanel|height">Height:</property>
<property name="xalign">1</property>
+ <property name="mnemonic_widget">paperheight</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -58,6 +61,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="pageformatpanel|orientation">Orientation:</property>
<property name="xalign">1</property>
+ <property name="mnemonic_widget">paperorientation</property>
</object>
<packing>
<property name="left_attach">0</property>
@@ -124,6 +128,7 @@
<property name="can_focus">False</property>
<property name="label" translatable="yes" context="pageformatpanel|margin">Margins:</property>
<property name="xalign">1</property>
+ <property name="mnemonic_widget">marginLB</property>
</object>
<packing>
<property name="left_attach">0</property>