[gnome-games/wip/exalm/gtk4: 18/31] ui: Replace 'show-close-button' property with 'show-title-buttons'
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/gtk4: 18/31] ui: Replace 'show-close-button' property with 'show-title-buttons'
- Date: Sun, 7 Oct 2018 07:43:21 +0000 (UTC)
commit 168ff8dacbe46d938601a97d707e23e919c81a97
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Jul 29 10:56:11 2018 +0500
ui: Replace 'show-close-button' property with 'show-title-buttons'
data/ui/application-window.ui | 4 ++--
data/ui/display-box.ui | 2 +-
data/ui/preferences-window.ui | 4 ++--
src/ui/preferences-subpage-gamepad.vala | 2 +-
src/ui/preferences-subpage-keyboard.vala | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index 61303365..3985ac86 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -49,7 +49,7 @@
<child>
<object class="GamesCollectionHeaderBar" id="collection_header_bar">
<property name="visible">True</property>
- <property name="show_close_button">True</property>
+ <property name="show_title_buttons">True</property>
</object>
<packing>
<property name="name">collection</property>
@@ -58,7 +58,7 @@
<child>
<object class="GamesDisplayHeaderBar" id="display_header_bar">
<property name="visible">True</property>
- <property name="show_close_button">True</property>
+ <property name="show_title_buttons">True</property>
<signal name="back" handler="on_display_back"/>
</object>
<packing>
diff --git a/data/ui/display-box.ui b/data/ui/display-box.ui
index 0c42f288..8e83ea7f 100644
--- a/data/ui/display-box.ui
+++ b/data/ui/display-box.ui
@@ -27,7 +27,7 @@
<child>
<object class="GamesDisplayHeaderBar" id="fullscreen_header_bar">
<property name="visible">True</property>
- <property name="show_close_button">False</property>
+ <property name="show_title_buttons">False</property>
<signal name="back" handler="on_fullscreen_header_bar_back"/>
</object>
</child>
diff --git a/data/ui/preferences-window.ui b/data/ui/preferences-window.ui
index aea9b2df..710611e8 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -23,7 +23,7 @@
<property name="name">left_header_bar</property>
<property name="visible">True</property>
<property name="title" translatable="yes">Preferences</property>
- <property name="show-close-button">True</property>
+ <property name="show-title-buttons">True</property>
<property name="decoration_layout">menu</property>
</object>
</child>
@@ -41,7 +41,7 @@
<property name="name">right_header_bar</property>
<property name="visible">True</property>
<property name="hexpand">True</property>
- <property name="show-close-button">True</property>
+ <property name="show-title-buttons">True</property>
</object>
</child>
</object>
diff --git a/src/ui/preferences-subpage-gamepad.vala b/src/ui/preferences-subpage-gamepad.vala
index 5d75cb5d..6b4ee60f 100644
--- a/src/ui/preferences-subpage-gamepad.vala
+++ b/src/ui/preferences-subpage-gamepad.vala
@@ -67,7 +67,7 @@ private class Games.PreferencesSubpageGamepad: Gtk.Box, PreferencesSubpage {
_state = value;
back_button.visible = (state == State.TEST);
cancel_button.visible = (state == State.CONFIGURE);
- header_bar.show_close_button = (state == State.TEST);
+ header_bar.show_title_buttons = (state == State.TEST);
request_selection_mode = (state == State.CONFIGURE);
switch (value) {
diff --git a/src/ui/preferences-subpage-keyboard.vala b/src/ui/preferences-subpage-keyboard.vala
index 71b5f0f1..cf9dc1ea 100644
--- a/src/ui/preferences-subpage-keyboard.vala
+++ b/src/ui/preferences-subpage-keyboard.vala
@@ -58,7 +58,7 @@ private class Games.PreferencesSubpageKeyboard: Gtk.Box, PreferencesSubpage {
_state = value;
back_button.visible = (state == State.TEST);
cancel_button.visible = (state == State.CONFIGURE);
- header_bar.show_close_button = (state == State.TEST);
+ header_bar.show_title_buttons = (state == State.TEST);
request_selection_mode = (state == State.CONFIGURE);
switch (value) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]