[nautilus] nautilus-toolbar-view-menu: Add margin to separator



commit dd0aeac221b9885974742d2fdd2a2cb19af2aa9d
Author: Carlos Soriano <csoriano gnome org>
Date:   Thu Jan 29 16:46:00 2015 +0100

    nautilus-toolbar-view-menu: Add margin to separator
    
    Currently the main GtkBox of the view menu has spacing for its sections,
    but we actually want only spacing for each separator, so there is not
    separation between radio items, but there is space between each section.
    
    So just replace the box spacing for margin in each separator.

 src/nautilus-toolbar-view-menu.xml |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-toolbar-view-menu.xml b/src/nautilus-toolbar-view-menu.xml
index 9f0ad99..0474776 100644
--- a/src/nautilus-toolbar-view-menu.xml
+++ b/src/nautilus-toolbar-view-menu.xml
@@ -7,12 +7,12 @@
         <property name="can_focus">False</property>
         <property name="border_width">9</property>
         <property name="orientation">vertical</property>
-        <property name="spacing">6</property>
         <property name="width_request">160</property>
         <child>
           <object class="GtkBox" id="views_box">
             <property name="visible">True</property>
             <property name="orientation">horizontal</property>
+            <property name="margin-bottom">6</property>
             <style>
                 <class name="linked"/>
             </style>
@@ -79,6 +79,8 @@
               <object class="GtkSeparator">
                 <property name="visible">True</property>
                 <property name="orientation">horizontal</property>
+                <property name="margin-top">6</property>
+                <property name="margin-bottom">6</property>
               </object>
             </child>
             <child>
@@ -151,6 +153,8 @@
               <object class="GtkSeparator">
                 <property name="visible">True</property>
                 <property name="orientation">horizontal</property>
+                <property name="margin-top">6</property>
+                <property name="margin-bottom">6</property>
               </object>
             </child>
             <child>
@@ -167,6 +171,8 @@
           <object class="GtkSeparator">
             <property name="visible">True</property>
             <property name="orientation">horizontal</property>
+            <property name="margin-top">6</property>
+            <property name="margin-bottom">6</property>
           </object>
         </child>
         <child>


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