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



commit 51b4ab10ed83f33d7e88e2d2e72b986bbb740e69
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 +++------------
 2 files changed, 6 insertions(+), 24 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">


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