diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-07-06 10:28:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-07-06 12:27:46 +0200 |
commit | 36939127391f2275cad5a676cf073cfa998c9982 (patch) | |
tree | 3ef62d39d2246f50e986205cecc25ef06934d60d /vcl/unx | |
parent | 4f33e723900c280c17c75898fb7a59e2e749f93e (diff) |
gtk4: turn GtkToolButton labels into GtkButton tooltip-text
Change-Id: I03e49b79a9a5252459315d3806ab46d4032690e4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118468
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk4/convert3to4.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx index 05e62c23314d..aca454d6786a 100644 --- a/vcl/unx/gtk4/convert3to4.cxx +++ b/vcl/unx/gtk4/convert3to4.cxx @@ -439,7 +439,11 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode } if (sName == "label") + { + if (GetParentObjectType(xChild) == "GtkToolButton") + xName->setNodeValue("tooltip-text"); xPropertyLabel = xChild; + } if (sName == "visible") bHasVisible = true; |