diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-14 16:23:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-15 11:20:49 +0100 |
commit | fcf0d983801603250aa7ce4539951c6b049ad079 (patch) | |
tree | e1c7ec93cd507af0eac563d71d4772e977d577e3 /vcl | |
parent | 093eb46aea59c2359d122bc8d2c2a7411e9b8a23 (diff) |
add a rule to enforce always-show-image of True if an image is used
If not set, then gtk3 will show the image if there is no text, but only
the text if there's an image. For simplicity sake just enforce it as
true if an image is referenced.
Change-Id: Id4bb9140ba83e7e07e0d8ec5e3c29aece49b9087
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125200
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/uiconfig/ui/printdialog.ui | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/uiconfig/ui/printdialog.ui b/vcl/uiconfig/ui/printdialog.ui index 44fd36c1c2a3..3c6bc3d86a04 100644 --- a/vcl/uiconfig/ui/printdialog.ui +++ b/vcl/uiconfig/ui/printdialog.ui @@ -234,6 +234,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="printdialog|firstpage">First page</property> <property name="image">imgFirst</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="btnFirst-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|btnFirst">Shows preview of the first page.</property> @@ -253,6 +254,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="printdialog|backward">Previous page</property> <property name="image">imgBack</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="backward-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|backward">Shows preview of the previous page.</property> @@ -303,6 +305,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="printdialog|forward">Next page</property> <property name="image">imgForward</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="forward-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|forward">Shows preview of the next page.</property> @@ -322,6 +325,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="printdialog|lastpage">Last page</property> <property name="image">imgLast</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="btnLast-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="printdialog|extended_tip|btnLast">Shows preview of the last page.</property> |