[gnome-games/wip/exalm/views: 3/19] ui: Set show-close-button in headerbars themselves



commit 98be6cfc50872cd2664bfc650082825eb884e6f6
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Feb 25 13:31:17 2019 +0500

    ui: Set show-close-button in headerbars themselves

 data/ui/application-window.ui    | 2 --
 data/ui/collection-header-bar.ui | 1 +
 data/ui/display-header-bar.ui    | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/ui/application-window.ui b/data/ui/application-window.ui
index 443f718e..b134363a 100644
--- a/data/ui/application-window.ui
+++ b/data/ui/application-window.ui
@@ -43,7 +43,6 @@
             <child>
               <object class="GamesCollectionHeaderBar" id="collection_header_bar">
                 <property name="visible">True</property>
-                <property name="show-close-button">True</property>
               </object>
               <packing>
                 <property name="name">collection</property>
@@ -52,7 +51,6 @@
             <child>
               <object class="GamesDisplayHeaderBar" id="display_header_bar">
                 <property name="visible">True</property>
-                <property name="show-close-button">True</property>
                 <signal name="back" handler="on_display_back"/>
               </object>
               <packing>
diff --git a/data/ui/collection-header-bar.ui b/data/ui/collection-header-bar.ui
index 20c043e8..07e3c30b 100644
--- a/data/ui/collection-header-bar.ui
+++ b/data/ui/collection-header-bar.ui
@@ -3,6 +3,7 @@
   <requires lib="gtk+" version="3.16"/>
   <template class="GamesCollectionHeaderBar" parent="GtkHeaderBar">
     <property name="visible">True</property>
+    <property name="show_close_button">True</property>
     <child>
       <object class="GtkButton" id="add_game">
         <property name="visible">True</property>
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index a8942d2c..7b793ddf 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -4,6 +4,7 @@
   <template class="GamesDisplayHeaderBar" parent="GtkHeaderBar">
     <property name="visible">True</property>
     <property name="title" translatable="yes">Games</property>
+    <property name="show_close_button">True</property>
     <signal name="notify::is-fullscreen" handler="on_fullscreen_changed"/>
     <signal name="notify::can-fullscreen" handler="on_fullscreen_changed"/>
     <child>


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