[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jul 6 10:28:21 UTC 2021
vcl/unx/gtk4/convert3to4.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 36939127391f2275cad5a676cf073cfa998c9982
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Jul 6 10:28:44 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 6 12:27:46 2021 +0200
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 at redhat.com>
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;
More information about the Libreoffice-commits
mailing list