[gnome-system-log] window: Fix headerbar item positions



commit e8aabfd62e36aafa1d969b70fe503c95f0996d25
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Wed Jan 8 00:40:12 2014 +0200

    window: Fix headerbar item positions
    
    Also bump GTK+ dependency to 3.11.4.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721751

 configure.ac          |    2 +-
 src/logview-window.ui |   20 ++++++++++----------
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9abced5..57ff9c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ AS_IF([test "x$enable_zlib" != "xno"],
 AC_SUBST(Z_LIBS)
 
 GLIB_MIN_VERSION=2.31.0
-GTK_MIN_VERSION=3.9.11
+GTK_MIN_VERSION=3.11.4
 
 PKG_CHECK_MODULES(LOGVIEW,
                   glib-2.0 >= $GLIB_MIN_VERSION
diff --git a/src/logview-window.ui b/src/logview-window.ui
index d76fb6b..4636146 100644
--- a/src/logview-window.ui
+++ b/src/logview-window.ui
@@ -70,20 +70,22 @@
           <class name="titlebar"/>
         </style>
         <child>
-          <object class="GtkButton" id="find_button">
+          <object class="GtkMenuButton" id="button1">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
+            <property name="halign">end</property>
             <property name="valign">center</property>
-            <property name="action_name">win.search</property>
+            <property name="menu_model">gear_menu</property>
+            <property name="action_name">win.gear-menu</property>
             <style>
               <class name="image-button"/>
             </style>
             <child>
-              <object class="GtkImage" id="find_image">
+              <object class="GtkImage" id="image1">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
+                <property name="icon_name">emblem-system-symbolic</property>
                 <property name="icon_size">1</property>
-                <property name="icon_name">edit-find-symbolic</property>
               </object>
             </child>
           </object>
@@ -92,22 +94,20 @@
           </packing>
         </child>
         <child>
-          <object class="GtkMenuButton" id="button1">
+          <object class="GtkButton" id="find_button">
             <property name="visible">True</property>
             <property name="can_focus">True</property>
-            <property name="halign">end</property>
             <property name="valign">center</property>
-            <property name="menu_model">gear_menu</property>
-            <property name="action_name">win.gear-menu</property>
+            <property name="action_name">win.search</property>
             <style>
               <class name="image-button"/>
             </style>
             <child>
-              <object class="GtkImage" id="image1">
+              <object class="GtkImage" id="find_image">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
-                <property name="icon_name">emblem-system-symbolic</property>
                 <property name="icon_size">1</property>
+                <property name="icon_name">edit-find-symbolic</property>
               </object>
             </child>
           </object>


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