[gtk+] places sidebar: use a box



commit e10f44e896a316b8cf7f0b4e3545aabff64147d8
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 15 08:02:27 2016 -0500

    places sidebar: use a box
    
    No need for a grid here. Patch by Timm Bäder.

 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]