[gtk+/wip/baedert/gtkimageview] sidebarrow: Use a GtkBox



commit 72165d7b58af5b8c95d237d115c6f8687fb6b505
Author: Timm Bäder <mail baedert org>
Date:   Sun Feb 14 21:52:27 2016 +0100

    sidebarrow: Use a GtkBox
    
    All the elements are aligned horizontally anyway.

 gtk/ui/gtksidebarrow.ui |   14 +-------------
 1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/gtk/ui/gtksidebarrow.ui b/gtk/ui/gtksidebarrow.ui
index 92fcf86..861979b 100644
--- a/gtk/ui/gtksidebarrow.ui
+++ b/gtk/ui/gtksidebarrow.ui
@@ -19,7 +19,7 @@
           <object class="GtkEventBox" id="event_box">
             <property name="visible">1</property>
             <child>
-              <object class="GtkGrid">
+              <object class="GtkBox">
                 <property name="visible">1</property>
                 <child>
                   <object class="GtkImage" id="icon_widget">
@@ -28,10 +28,6 @@
                       <class name="sidebar-icon"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left_attach">0</property>
-                    <property name="top_attach">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkLabel" id="label_widget">
@@ -42,10 +38,6 @@
                       <class name="sidebar-label"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left_attach">1</property>
-                    <property name="top_attach">0</property>
-                  </packing>
                 </child>
                 <child>
                   <object class="GtkButton" id="eject_button">
@@ -66,10 +58,6 @@
                       <class name="sidebar-button"/>
                     </style>
                   </object>
-                  <packing>
-                    <property name="left_attach">2</property>
-                    <property name="top_attach">0</property>
-                  </packing>
                 </child>
               </object>
             </child>


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