summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk4/convert3to4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/gtk4/convert3to4.cxx')
-rw-r--r--vcl/unx/gtk4/convert3to4.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 00620439f39b..5c8cc1dec71e 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -441,8 +441,11 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
if (sName == "label")
{
OUString sParentClass = GetParentObjectType(xChild);
- if (sParentClass == "GtkToolButton" || sParentClass == "GtkToggleToolButton")
+ if (sParentClass == "GtkToolButton" || sParentClass == "GtkMenuToolButton"
+ || sParentClass == "GtkToggleToolButton")
+ {
xName->setNodeValue("tooltip-text");
+ }
xPropertyLabel = xChild;
}
@@ -1152,6 +1155,10 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
{
xClass->setNodeValue("GtkButton");
}
+ else if (sClass == "GtkMenuToolButton")
+ {
+ xClass->setNodeValue("GtkMenuButton");
+ }
else if (sClass == "GtkToggleToolButton")
{
xClass->setNodeValue("GtkToggleButton");