vcl/unx/gtk4/convert3to4.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 5618448b96991c3ec3dcabd8cba144f17ee1e4d2
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Sep 16 12:35:49 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Sep 16 15:06:32 2021 +0200

    gtk4: set always-show-arrow on GtkMenuToolButton replacements
    
    Change-Id: I4c1be40e40d2f1e2bcbf26cffda7a6dd52e4f731
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122191
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 7713e6f3f6a0..277eb0cf52fb 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -1139,6 +1139,8 @@ ConvertResult Convert3To4(const 
css::uno::Reference<css::xml::dom::XNode>& xNode
             else if (sClass == "GtkMenuToolButton")
             {
                 xClass->setNodeValue("GtkMenuButton");
+                auto xAlwaysShowArrow = CreateProperty(xDoc, 
"always-show-arrow", "True");
+                insertAsFirstChild(xChild, xAlwaysShowArrow);
             }
             else if (sClass == "GtkRadioToolButton")
             {

Reply via email to