[gnome-games/wip/exalm/unified-window: 54/60] preferences-subpage: Use HdyHeaderBar



commit 8d374d6c55d04a4e4d7055823277663f1cfc3318
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Fri Apr 10 18:54:07 2020 +0500

    preferences-subpage: Use HdyHeaderBar

 data/ui/preferences-subpage-gamepad.ui   | 2 +-
 data/ui/preferences-subpage-keyboard.ui  | 2 +-
 src/ui/preferences-subpage-gamepad.vala  | 4 ++--
 src/ui/preferences-subpage-keyboard.vala | 4 ++--
 src/ui/preferences-subpage.vala          | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/ui/preferences-subpage-gamepad.ui b/data/ui/preferences-subpage-gamepad.ui
index ed70871b..a526be79 100644
--- a/data/ui/preferences-subpage-gamepad.ui
+++ b/data/ui/preferences-subpage-gamepad.ui
@@ -69,7 +69,7 @@
       </object>
     </child>
   </template>
-  <object class="GtkHeaderBar" id="header_bar">
+  <object class="HdyHeaderBar" id="header_bar">
     <property name="visible">True</property>
     <property name="expand">True</property>
     <child>
diff --git a/data/ui/preferences-subpage-keyboard.ui b/data/ui/preferences-subpage-keyboard.ui
index 17675b8a..6cf345bb 100644
--- a/data/ui/preferences-subpage-keyboard.ui
+++ b/data/ui/preferences-subpage-keyboard.ui
@@ -70,7 +70,7 @@
       </object>
     </child>
   </template>
-  <object class="GtkHeaderBar" id="header_bar">
+  <object class="HdyHeaderBar" id="header_bar">
     <property name="visible">True</property>
     <property name="expand">True</property>
     <child>
diff --git a/src/ui/preferences-subpage-gamepad.vala b/src/ui/preferences-subpage-gamepad.vala
index f24c0f93..ef27cb6d 100644
--- a/src/ui/preferences-subpage-gamepad.vala
+++ b/src/ui/preferences-subpage-gamepad.vala
@@ -73,8 +73,8 @@ private class Games.PreferencesSubpageGamepad : Gtk.Box, PreferencesSubpage {
        }
 
        [GtkChild (name = "header_bar")]
-       private Gtk.HeaderBar _header_bar;
-       public Gtk.HeaderBar header_bar {
+       private Hdy.HeaderBar _header_bar;
+       public Hdy.HeaderBar header_bar {
                get { return _header_bar; }
        }
 
diff --git a/src/ui/preferences-subpage-keyboard.vala b/src/ui/preferences-subpage-keyboard.vala
index d36ff37a..7d0469b7 100644
--- a/src/ui/preferences-subpage-keyboard.vala
+++ b/src/ui/preferences-subpage-keyboard.vala
@@ -66,8 +66,8 @@ private class Games.PreferencesSubpageKeyboard : Gtk.Box, PreferencesSubpage {
        }
 
        [GtkChild (name = "header_bar")]
-       private Gtk.HeaderBar _header_bar;
-       public Gtk.HeaderBar header_bar {
+       private Hdy.HeaderBar _header_bar;
+       public Hdy.HeaderBar header_bar {
                get { return _header_bar; }
        }
 
diff --git a/src/ui/preferences-subpage.vala b/src/ui/preferences-subpage.vala
index 7daf840b..27d1abb6 100644
--- a/src/ui/preferences-subpage.vala
+++ b/src/ui/preferences-subpage.vala
@@ -1,6 +1,6 @@
 // This file is part of GNOME Games. License: GPL-3.0+.
 
 private interface Games.PreferencesSubpage : Gtk.Widget {
-       public abstract Gtk.HeaderBar header_bar { get; }
+       public abstract Hdy.HeaderBar header_bar { get; }
        public abstract bool request_selection_mode { get; set; }
 }


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