[gnome-weather] Replace improper use of GtkHeaderBar with GtkActionBar



commit b3b4c10fcb658d0bcdd85d521fafe18ba3eff9cf
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Tue Jan 7 21:48:49 2014 +0100

    Replace improper use of GtkHeaderBar with GtkActionBar
    
    GtkHeaderBar should only be used as a titlebar (because it has
    window decorations and window dragging), if one wants just the
    packing features Gtk gives GtkActionBar now.

 configure.ac   |    2 +-
 data/window.ui |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 06439dc..90daf62 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,7 @@ PKG_CHECK_MODULES([DEPS], [gdk-3.0
                            gio-2.0
                            glib-2.0
                            gobject-2.0
-                           gtk+-3.0 >= 3.9.4
+                           gtk+-3.0 >= 3.11.4
                            gweather-3.0 >= 3.9.5])
 
 AC_PATH_PROG([GJS],[gjs])
diff --git a/data/window.ui b/data/window.ui
index 5b81cd6..4c41ca5 100644
--- a/data/window.ui
+++ b/data/window.ui
@@ -182,7 +182,7 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <child>
-          <object class="GtkHeaderBar" id="selection-bar">
+          <object class="GtkActionBar" id="selection-bar">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <child>


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