jsdialogs: fix generic color label name

update event was triggering other widget change:
when opened calc and selected shape first time
we saw color text next to other color label

Change-Id: I71670ac1273ce96fafc8d20126d9f32151e96d89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143471
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Silva <pedro.silva@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144950
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
This commit is contained in:
Szymon Kłos 2022-11-29 19:59:57 +01:00
parent ef3b7b7118
commit 36de236836
2 changed files with 3 additions and 3 deletions

View file

@ -50,7 +50,7 @@ ShadowPropertyPanel::ShadowPropertyPanel(
mxFTDistance(m_xBuilder->weld_label("distance")),
mxFTTransparency(m_xBuilder->weld_label("transparency_label")),
mxFTBlur(m_xBuilder->weld_label("blur_label")),
mxFTColor(m_xBuilder->weld_label("color")),
mxFTColor(m_xBuilder->weld_label("shadowcolorlabel")),
mxShadowTransSlider(m_xBuilder->weld_scale("transparency_slider")),
mxShadowTransMetric(m_xBuilder->weld_metric_spin_button("FIELD_TRANSPARENCY", FieldUnit::PERCENT)),
mxShadowBlurMetric(m_xBuilder->weld_metric_spin_button("LB_SHADOW_BLUR", FieldUnit::POINT))

View file

@ -89,10 +89,10 @@
</packing>
</child>
<child>
<object class="GtkLabel" id="color">
<object class="GtkLabel" id="shadowcolorlabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes" context="sidebarshadow|color">Color:</property>
<property name="label" translatable="yes" context="sidebarshadow|shadowcolorlabel">Color:</property>
<property name="use-underline">True</property>
<property name="mnemonic-widget">LB_SHADOW_COLOR</property>
<property name="xalign">0</property>