[gedit] filebrowser: don't set .primary-toolbar



commit f298b904d65eb7c44fb537b1d748e18e1053c50b
Author: Lars Uebernickel <lars uebernickel canonical com>
Date:   Wed Jan 8 18:57:47 2014 +0100

    filebrowser: don't set .primary-toolbar
    
    The toolbar in the file browser widget is not a primary toolbar, so
    don't set that class.
    
    Also, set some margins on the toolbar buttons which would otherwise look
    too cramped when styled on a non-primary toolbar.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721813

 plugins/filebrowser/gedit-file-browser-widget.ui |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-widget.ui 
b/plugins/filebrowser/gedit-file-browser-widget.ui
index 540580b..70eafba 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.ui
+++ b/plugins/filebrowser/gedit-file-browser-widget.ui
@@ -30,15 +30,13 @@
         <property name="can_focus">False</property>
         <property name="toolbar_style">icons</property>
         <property name="icon_size">1</property>
-        <style>
-          <class name="primary-toolbar"/>
-        </style>
         <child>
           <object class="GtkToolItem" id="toolbutton1">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="vexpand">False</property>
             <property name="valign">center</property>
+            <property name="margin-end">2</property>
             <style>
               <class name="raised"/>
               <class name="linked"/>
@@ -103,6 +101,7 @@
             <property name="can_focus">False</property>
             <property name="vexpand">False</property>
             <property name="valign">center</property>
+            <property name="margin-end">2</property>
             <style>
               <class name="raised"/>
             </style>


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