[gnome-games/wip/exalm/gtk4: 36/48] ui: Stop using Actionbar child properties



commit 34482fde3cd03ea105b8dac44e446045793a9884
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sat May 11 12:00:00 2019 +0500

    ui: Stop using Actionbar child properties

 data/ui/preferences-subpage-gamepad.ui  | 15 +++------------
 data/ui/preferences-subpage-keyboard.ui | 15 +++------------
 data/ui/savestates-list.ui              | 10 ++--------
 3 files changed, 8 insertions(+), 32 deletions(-)
---
diff --git a/data/ui/preferences-subpage-gamepad.ui b/data/ui/preferences-subpage-gamepad.ui
index 8b7cc17f..2525dcae 100644
--- a/data/ui/preferences-subpage-gamepad.ui
+++ b/data/ui/preferences-subpage-gamepad.ui
@@ -16,7 +16,7 @@
         <child>
           <object class="GtkActionBar" id="tester_action_bar">
             <property name="visible">True</property>
-            <child>
+            <child type="end">
               <object class="GtkButton" id="reset_button">
                 <property name="visible">True</property>
                 <property name="label" translatable="yes" context="Keyboard configuration factory 
reset">Reset</property>
@@ -25,11 +25,8 @@
                   <class name="destructive-action"/>
                 </style>
               </object>
-              <packing>
-                <property name="pack-type">end</property>
-              </packing>
             </child>
-            <child>
+            <child type="start">
               <object class="GtkButton" id="configure_button">
                 <property name="visible">True</property>
                 <property name="label" translatable="yes">Configure</property>
@@ -38,13 +35,10 @@
                   <class name="suggested-action"/>
                 </style>
               </object>
-              <packing>
-                <property name="pack-type">start</property>
-              </packing>
             </child>
           </object>
         </child>
-        <child>
+        <child type="start">
           <object class="GtkActionBar" id="mapper_action_bar">
             <property name="visible">True</property>
             <child>
@@ -53,9 +47,6 @@
                 <property name="label" translatable="yes">Skip</property>
                 <signal name="clicked" handler="on_skip_clicked"/>
               </object>
-              <packing>
-                <property name="pack-type">start</property>
-              </packing>
             </child>
             <child type="center">
               <object class="GtkLabel" id="info_message">
diff --git a/data/ui/preferences-subpage-keyboard.ui b/data/ui/preferences-subpage-keyboard.ui
index b455c25d..569d290d 100644
--- a/data/ui/preferences-subpage-keyboard.ui
+++ b/data/ui/preferences-subpage-keyboard.ui
@@ -17,7 +17,7 @@
         <child>
           <object class="GtkActionBar" id="tester_action_bar">
             <property name="visible">True</property>
-            <child>
+            <child type="end">
               <object class="GtkButton" id="reset_button">
                 <property name="visible">True</property>
                 <property name="label" translatable="yes" context="Keyboard configuration factory 
reset">Reset</property>
@@ -26,11 +26,8 @@
                   <class name="destructive-action"/>
                 </style>
               </object>
-              <packing>
-                <property name="pack-type">end</property>
-              </packing>
             </child>
-            <child>
+            <child type="start">
               <object class="GtkButton" id="configure_button">
                 <property name="visible">True</property>
                 <property name="label" translatable="yes">Configure</property>
@@ -39,24 +36,18 @@
                   <class name="suggested-action"/>
                 </style>
               </object>
-              <packing>
-                <property name="pack-type">start</property>
-              </packing>
             </child>
           </object>
         </child>
         <child>
           <object class="GtkActionBar" id="mapper_action_bar">
             <property name="visible">True</property>
-            <child>
+            <child type="start">
               <object class="GtkButton" id="skip_button">
                 <property name="visible">True</property>
                 <property name="label" translatable="yes">Skip</property>
                 <signal name="clicked" handler="on_skip_clicked"/>
               </object>
-              <packing>
-                <property name="pack-type">start</property>
-              </packing>
             </child>
             <child type="center">
               <object class="GtkLabel" id="info_message">
diff --git a/data/ui/savestates-list.ui b/data/ui/savestates-list.ui
index 71f93aab..76626165 100644
--- a/data/ui/savestates-list.ui
+++ b/data/ui/savestates-list.ui
@@ -81,7 +81,7 @@
             <child>
               <object class="GtkActionBar">
                 <property name="visible">True</property>
-                <child>
+                <child type="end">
                   <object class="GtkButton" id="delete_btn">
                     <property name="visible">True</property>
                     <property name="use-underline">True</property>
@@ -91,20 +91,14 @@
                       <class name="destructive-action"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="pack-type">end</property>
-                  </packing>
                 </child>
-                <child>
+                <child type="start">
                   <object class="GtkButton" id="rename_btn">
                     <property name="visible">True</property>
                     <property name="use-underline">True</property>
                     <property name="label" translatable="yes">_Rename</property>
                     <signal name="clicked" handler="on_rename_clicked"/>
                   </object>
-                  <packing>
-                    <property name="pack-type">start</property>
-                  </packing>
                 </child>
               </object>
             </child>


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