[gnome-music/wip/jfelder/gtk4-v3: 68/112] ui/playlistdialog: Fix packing




commit 2b5d17fb9e79f6178104a342f51f746ee35b1286
Author: Jean Felder <jfelder src gnome org>
Date:   Mon Jan 10 15:02:59 2022 +0100

    ui/playlistdialog: Fix packing

 data/ui/PlaylistDialog.ui | 30 ++++++++----------------------
 1 file changed, 8 insertions(+), 22 deletions(-)
---
diff --git a/data/ui/PlaylistDialog.ui b/data/ui/PlaylistDialog.ui
index db701de60..8e90e1801 100644
--- a/data/ui/PlaylistDialog.ui
+++ b/data/ui/PlaylistDialog.ui
@@ -1,25 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.20.0 -->
 <interface>
-  <requires lib="gtk+" version="3.10"/>
+  <requires lib="gtk" version="4.0"/>
   <template class="PlaylistDialog" parent="GtkDialog">
     <property name="width_request">400</property>
     <property name="height_request">500</property>
     <property name="can_focus">False</property>
     <property name="modal">True</property>
     <property name="destroy_with_parent">True</property>
-    <child internal-child="vbox">
+    <child internal-child="content_area">
       <object class="GtkBox" id="dialog-vbox">
         <property name="can_focus">False</property>
         <property name="orientation">vertical</property>
-        <child internal-child="action_area">
-          <object class="GtkButtonBox">
-            <property name="can_focus">False</property>
-          </object>
-          <packing>
-            <property name="position">0</property>
-          </packing>
-        </child>
         <child>
           <object class="GtkStack" id="_add_playlist_stack">
             <property name="visible">True</property>
@@ -181,18 +172,11 @@
                       </object>
                     </child>
                   </object>
-                  <packing>
-                    <property name="pack_type">end</property>
-                    <property name="position">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkButtonBox">
                     <property name="can_focus">False</property>
                   </object>
-                  <packing>
-                    <property name="position">2</property>
-                  </packing>
                 </child>
               </object>
             </child>
@@ -200,6 +184,11 @@
         </child>
       </object>
     </child>
+    <child internal-child="action_area">
+      <object class="GtkButtonBox">
+        <property name="can_focus">False</property>
+      </object>
+    </child>
   </template>
   <object class="GtkHeaderBar" id="_title_bar">
     <property name="visible">True</property>
@@ -218,7 +207,7 @@
         </style>
       </object>
     </child>
-    <child>
+    <child type="end">
       <object class="GtkButton" id="_select_button">
         <property name="label" translatable="yes">_Add</property>
         <property name="sensitive">False</property>
@@ -232,9 +221,6 @@
           <class name="text-button"/>
         </style>
       </object>
-      <packing>
-        <property name="pack_type">end</property>
-      </packing>
     </child>
   </object>
 </interface>


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