[gnome-games/wip/exalm/gtk4: 227/238] ui: Stop using Actionbar child properties
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/gtk4: 227/238] ui: Stop using Actionbar child properties
- Date: Mon, 19 Aug 2019 20:35:31 +0000 (UTC)
commit 006d4d03016127d4b93e4321910692b595e51c90
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 d0a96aad..64378c71 100644
--- a/data/ui/savestates-list.ui
+++ b/data/ui/savestates-list.ui
@@ -80,7 +80,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>
@@ -90,20 +90,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]