[nautilus/wip/antoniof/gtk4-preparation-drop-outgoing-api: 9/22] properties-window: Stop using GtkButtonBox




commit 788e4a130c01bd47b84f0e189296d71068ba76b8
Author: António Fernandes <antoniof gnome org>
Date:   Sun Aug 15 18:35:45 2021 +0100

    properties-window: Stop using GtkButtonBox
    
    It's going away with GTK4.
    
    Replace it with a GtkBox.
    
    This will result in visual changes to the dialog, but the existing
    visuals are outdated and a redesign is overdue anyway.

 src/resources/ui/nautilus-properties-window.ui | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index 4ffc5932e..bde7e989a 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -1322,11 +1322,10 @@
                   </packing>
                 </child>
                 <child>
-                  <object class="GtkButtonBox" id="app_chooser_button_box">
+                  <object class="GtkBox">
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="spacing">6</property>
-                    <property name="layout_style">end</property>
                     <child>
                       <object class="GtkButton" id="reset_button">
                         <property name="label" translatable="yes">Reset</property>
@@ -1338,7 +1337,7 @@
                         <property name="expand">False</property>
                         <property name="fill">False</property>
                         <property name="position">0</property>
-                        <property name="secondary">True</property>
+                        <property name="pack-type">end</property>
                       </packing>
                     </child>
                     <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]