sc/uiconfig/scalc/ui/filterdropdown.ui |    1 +
 vcl/unx/gtk4/convert3to4.cxx           |    7 -------
 2 files changed, 1 insertion(+), 7 deletions(-)

New commits:
commit c7c5f662ea3661f0cfe8534af235aa76dc4ef63a
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Jan 21 14:35:21 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Jan 21 17:30:38 2022 +0100

    gtk4: set homogeneous to true to get two equal width buttons
    
    Change-Id: Iff8c9579bbb4758c2bb13b946fafcaf3b9433a84
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128735
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sc/uiconfig/scalc/ui/filterdropdown.ui 
b/sc/uiconfig/scalc/ui/filterdropdown.ui
index a6ca98f9169a..8e0c01748e33 100644
--- a/sc/uiconfig/scalc/ui/filterdropdown.ui
+++ b/sc/uiconfig/scalc/ui/filterdropdown.ui
@@ -355,6 +355,7 @@
                 <property name="can-focus">False</property>
                 <property name="no-show-all">True</property>
                 <property name="spacing">6</property>
+                <property name="homogeneous">True</property>
                 <property name="layout-style">spread</property>
                 <child>
                   <object class="GtkButton" id="ok">
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index ec362aea71b5..3a2e28587546 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -551,13 +551,6 @@ ConvertResult Convert3To4(const 
css::uno::Reference<css::xml::dom::XNode>& xNode
                 xRemoveList.push_back(xChild);
             }
 
-            if (sName == "homogeneous")
-            {
-                // e.g. the buttonbox in xml filter dialog
-                if (GetParentObjectType(xChild) == "GtkButtonBox")
-                    xRemoveList.push_back(xChild);
-            }
-
             if (sName == "shadow-type")
             {
                 if (GetParentObjectType(xChild) == "GtkFrame")

Reply via email to