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 /svx | |
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 'svx')
-rw-r--r-- | svx/uiconfig/ui/docking3deffects.ui | 8 | ||||
-rw-r--r-- | svx/uiconfig/ui/redlinefilterpage.ui | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/svx/uiconfig/ui/docking3deffects.ui b/svx/uiconfig/ui/docking3deffects.ui index 831f460ce409..e5203e18d988 100644 --- a/svx/uiconfig/ui/docking3deffects.ui +++ b/svx/uiconfig/ui/docking3deffects.ui @@ -722,6 +722,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="docking3deffects|to3d|tooltip_text">Convert to 3D</property> <property name="image">image14</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="to3d-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="docking3deffects|extended_tip|to3d">Use this icon to convert a selected 2D object to a 3D object.</property> @@ -740,6 +741,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="docking3deffects|tolathe|tooltip_text">Convert to Rotation Object</property> <property name="image">image15</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="tolathe-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="docking3deffects|extended_tip|tolathe">Click here to convert a selected 2D object to a 3D rotation object.</property> @@ -1209,6 +1211,7 @@ <property name="tooltip-text" translatable="yes" context="docking3deffects|colorbutton1|tooltip_text">Colors Dialog</property> <property name="valign">start</property> <property name="image">image19</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="colorbutton1-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="docking3deffects|extended_tip|colorbutton1">Select a color for the ambient light.</property> @@ -1251,6 +1254,7 @@ <property name="tooltip-text" translatable="yes" context="docking3deffects|colorbutton2|tooltip_text">Colors Dialog</property> <property name="valign">center</property> <property name="image">image18</property> + <property name="always-show-image">True</property> </object> <packing> <property name="left-attach">2</property> @@ -2160,6 +2164,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="docking3deffects|colorbutton3|tooltip_text">Colors Dialog</property> <property name="image">image39</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="colorbutton3-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="docking3deffects|extended_tip|colorbutton3">Select the color to illuminate the object.</property> @@ -2178,6 +2183,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="docking3deffects|colorbutton4|tooltip_text">Colors Dialog</property> <property name="image">image40</property> + <property name="always-show-image">True</property> </object> <packing> <property name="left-attach">2</property> @@ -2276,6 +2282,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="docking3deffects|colorbutton5|tooltip_text">Colors Dialog</property> <property name="image">image41</property> + <property name="always-show-image">True</property> <child internal-child="accessible"> <object class="AtkObject" id="colorbutton5-atkobject"> <property name="AtkObject::accessible-description" translatable="yes" context="docking3deffects|extended_tip|colorbutton5">Enter the intensity of the specular effect.</property> @@ -2336,6 +2343,7 @@ <property name="receives-default">True</property> <property name="tooltip-text" translatable="yes" context="docking3deffects|assign|tooltip_text">Assign</property> <property name="image">image7</property> + <property name="always-show-image">True</property> </object> <packing> <property name="left-attach">6</property> diff --git a/svx/uiconfig/ui/redlinefilterpage.ui b/svx/uiconfig/ui/redlinefilterpage.ui index 92fe85231a28..5207c5b760ae 100644 --- a/svx/uiconfig/ui/redlinefilterpage.ui +++ b/svx/uiconfig/ui/redlinefilterpage.ui @@ -357,6 +357,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="redlinefilterpage|startclock|tooltip_text">Set current time and date</property> <property name="image">image1</property> + <property name="always-show-image">True</property> </object> <packing> <property name="left_attach">3</property> @@ -415,6 +416,7 @@ <property name="receives_default">True</property> <property name="tooltip_text" translatable="yes" context="redlinefilterpage|endclock|tooltip_text">Set current time and date</property> <property name="image">image2</property> + <property name="always-show-image">True</property> </object> <packing> <property name="left_attach">3</property> |