[gnome-music/wip/jfelder/gtk4-v3: 83/119] ui/playlistcontrols: Switch to GtkStackPage




commit 6ad5d89a1bfd97228b88072d0b9b3de885211aa7
Author: Jean Felder <jfelder src gnome org>
Date:   Wed Feb 2 12:32:02 2022 +0100

    ui/playlistcontrols: Switch to GtkStackPage

 data/ui/PlaylistControls.ui | 70 ++++++++++++++++++++++-----------------------
 1 file changed, 35 insertions(+), 35 deletions(-)
---
diff --git a/data/ui/PlaylistControls.ui b/data/ui/PlaylistControls.ui
index 465f6ac3a..6ae120428 100644
--- a/data/ui/PlaylistControls.ui
+++ b/data/ui/PlaylistControls.ui
@@ -38,46 +38,46 @@
           </object>
         </child>
         <child>
-          <object class="GtkBox">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="orientation">horizontal</property>
-            <style>
-              <class name="linked"/>
-            </style>
-            <child>
-              <object class="GtkEntry" id="_rename_entry">
+          <object class="GtkStackPage">
+            <property name="name">renaming_dialog</property>
+            <property name="child">
+              <object class="GtkBox">
+                <property name="orientation">horizontal</property>
+                <style>
+                  <class name="linked"/>
+                </style>
                 <child>
-                  <object class="GtkEventControllerKey" id="_rename_controller">
-                    <signal name="key-pressed" handler="_on_rename_entry_key_pressed" swapped="no"/>
+                  <object class="GtkEntry" id="_rename_entry">
+                    <child>
+                      <object class="GtkEventControllerKey" id="_rename_controller">
+                        <signal name="key-pressed" handler="_on_rename_entry_key_pressed" swapped="no"/>
+                      </object>
+                    </child>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="has_focus">True</property>
+                    <property name="receives_default">True</property>
+                    <signal name="activate" handler="_on_playlist_renamed" swapped="no"/>
+                    <signal name="changed" handler="_on_rename_entry_changed" swapped="no"/>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkButton" id="_rename_done_button">
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">True</property>
+                    <property name="label" translatable="yes">_Done</property>
+                    <property name="use_underline">True</property>
+                    <property name="sensitive">True</property>
+                    <signal name="clicked" handler="_on_playlist_renamed" swapped="no" />
+                    <style>
+                      <class name="suggested-action"/>
+                    </style>
                   </object>
                 </child>
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="has_focus">True</property>
-                <property name="receives_default">True</property>
-                <signal name="activate" handler="_on_playlist_renamed" swapped="no"/>
-                <signal name="changed" handler="_on_rename_entry_changed" swapped="no"/>
-              </object>
-            </child>
-            <child>
-              <object class="GtkButton" id="_rename_done_button">
-                <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="receives_default">True</property>
-                <property name="label" translatable="yes">_Done</property>
-                <property name="use_underline">True</property>
-                <property name="sensitive">True</property>
-                <signal name="clicked" handler="_on_playlist_renamed" swapped="no" />
-                <style>
-                  <class name="suggested-action"/>
-                </style>
               </object>
-            </child>
+            </property>
           </object>
-          <packing>
-            <property name="name">renaming_dialog</property>
-          </packing>
         </child>
       </object>
     </child>


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