[gtk+] GtkPathBar: Don't use GtkArrow



commit d758e9ddd9606121254cfbc01462f841c3d0e2ee
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jul 23 12:42:08 2014 -0400

    GtkPathBar: Don't use GtkArrow
    
    Instead, use an image button.

 gtk/resources/ui/gtkpathbar.ui |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/gtk/resources/ui/gtkpathbar.ui b/gtk/resources/ui/gtkpathbar.ui
index 106fd60..c41ed7f 100644
--- a/gtk/resources/ui/gtkpathbar.ui
+++ b/gtk/resources/ui/gtkpathbar.ui
@@ -16,11 +16,15 @@
     <signal name="focus-out-event" handler="gtk_path_bar_slider_down_defocus" swapped="no"/>
     <signal name="unmap" handler="on_slider_unmap" swapped="no"/>
     <child>
-      <object class="GtkArrow" id="arrow2">
+      <object class="GtkImage">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
+        <property name="icon-name">pan-end-symbolic</property>
+        <property name="icon-size">1</property>
       </object>
     </child>
+    <style>
+      <class name="image-button"/>
+    </style>
   </object>
   <object class="GtkButton" id="up_slider_button">
     <property name="visible">True</property>
@@ -37,11 +41,14 @@
     <signal name="focus-out-event" handler="gtk_path_bar_slider_up_defocus" swapped="no"/>
     <signal name="unmap" handler="on_slider_unmap" swapped="no"/>
     <child>
-      <object class="GtkArrow" id="arrow1">
+      <object class="GtkImage">
         <property name="visible">True</property>
-        <property name="can_focus">False</property>
-        <property name="arrow_type">left</property>
+        <property name="icon-name">pan-start-symbolic</property>
+        <property name="icon-size">1</property>
       </object>
     </child>
+    <style>
+      <class name="image-button"/>
+    </style>
   </object>
 </interface>


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