[gnome-games/wip/exalm/unified-window: 40/60] display-header-bar: Switch to HdyHeaderBar



commit 5b526c6ff41ce211914cd2225d51c734d3aea06d
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Apr 10 02:49:06 2020 +0500

    display-header-bar: Switch to HdyHeaderBar

 data/ui/display-header-bar.ui  | 4 ++--
 src/ui/display-header-bar.vala | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/ui/display-header-bar.ui b/data/ui/display-header-bar.ui
index 41412b77..b6ea89a8 100644
--- a/data/ui/display-header-bar.ui
+++ b/data/ui/display-header-bar.ui
@@ -12,7 +12,7 @@
         <property name="transition-type">crossfade</property>
         <property name="transition-duration">250</property>
         <child>
-          <object class="GtkHeaderBar" id="ingame_header_bar">
+          <object class="HdyHeaderBar" id="ingame_header_bar">
             <property name="visible">True</property>
             <property name="title" bind-source="GamesDisplayHeaderBar" bind-property="game-title" 
bind-flags="bidirectional"/>
             <property name="show-close-button" bind-source="GamesDisplayHeaderBar" 
bind-property="show-title-buttons" bind-flags="bidirectional|sync-create"/>
@@ -132,7 +132,7 @@
           </object>
         </child>
         <child>
-          <object class="GtkHeaderBar" id="snapshots_header_bar">
+          <object class="HdyHeaderBar" id="snapshots_header_bar">
             <property name="visible">True</property>
             <property name="title" bind-source="GamesDisplayHeaderBar" bind-property="game-title" 
bind-flags="bidirectional"/>
             <child>
diff --git a/src/ui/display-header-bar.vala b/src/ui/display-header-bar.vala
index e0039649..a8d2fbc8 100644
--- a/src/ui/display-header-bar.vala
+++ b/src/ui/display-header-bar.vala
@@ -64,7 +64,7 @@ private class Games.DisplayHeaderBar : Gtk.Bin {
        [GtkChild]
        private Gtk.Stack stack;
        [GtkChild]
-       private Gtk.HeaderBar ingame_header_bar;
+       private Hdy.HeaderBar ingame_header_bar;
        [GtkChild]
        private Gtk.Button fullscreen;
        [GtkChild]
@@ -72,7 +72,7 @@ private class Games.DisplayHeaderBar : Gtk.Bin {
        [GtkChild]
        private Gtk.MenuButton secondary_menu_button;
        [GtkChild]
-       private Gtk.HeaderBar snapshots_header_bar;
+       private Hdy.HeaderBar snapshots_header_bar;
 
        private Settings settings;
 


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