[gnome-games/wip/exalm/gtk4: 30/42] 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: 30/42] ui: Replace 'show_close-button' property with 'show_title_buttons'
- Date: Wed, 12 Sep 2018 11:54:36 +0000 (UTC)
commit a5b6744577619c90dd6dcff3390286fb7b63fdeb
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 | 2 +-
src/ui/preferences-window.vala | 4 ++--
4 files changed, 6 insertions(+), 6 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 94133ea8..b95b759a 100644
--- a/data/ui/preferences-window.ui
+++ b/data/ui/preferences-window.ui
@@ -16,7 +16,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>
diff --git a/src/ui/preferences-window.vala b/src/ui/preferences-window.vala
index 68823ecc..fe82de71 100644
--- a/src/ui/preferences-window.vala
+++ b/src/ui/preferences-window.vala
@@ -22,7 +22,7 @@ private class Games.PreferencesWindow : Gtk.Window {
titlebar_box.remove (_right_header_bar);
if (value != null) {
titlebar_box.pack_end (value);
- value.show_close_button = !immersive_mode;
+ value.show_title_buttons = !immersive_mode;
}
_right_header_bar = value;
}
@@ -37,7 +37,7 @@ private class Games.PreferencesWindow : Gtk.Window {
separator.visible = !value;
sidebar_vbox.visible = !value;
if (right_header_bar != null)
- right_header_bar.show_close_button = !value;
+ right_header_bar.show_title_buttons = !value;
_immersive_mode = value;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]