[gedit/wip/3.14-osx: 33/69] [osx] Move inline stack switcher to top



commit cbbac0f37e1f5bad5f293084eb5cce4c1c61c744
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Aug 23 17:34:58 2014 +0200

    [osx] Move inline stack switcher to top

 gedit/resources/css/gedit-style-osx.css |    9 +++------
 gedit/resources/ui/gedit-window.ui      |   10 +++++-----
 2 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/gedit/resources/css/gedit-style-osx.css b/gedit/resources/css/gedit-style-osx.css
index 6286a2a..859247d 100644
--- a/gedit/resources/css/gedit-style-osx.css
+++ b/gedit/resources/css/gedit-style-osx.css
@@ -133,10 +133,7 @@ GtkEntry
 
 GeditMenuStackSwitcher.gedit-side-panel-stack-switcher
 {
-  -GtkButton-default-border: 0;
-  -GtkButton-default-outside-border: 0;
-  -GtkButton-inner-border: 0;
-  -GtkWidget-focus-line-width: 0;
-  -GtkWidget-focus-padding: 0;
-  padding: 1px 8px 2px 4px;
+  border: 0;
+  border-radius: 0;
+  border-bottom: 1px solid @borders;
 }
diff --git a/gedit/resources/ui/gedit-window.ui b/gedit/resources/ui/gedit-window.ui
index 62a518a..5d3a197 100644
--- a/gedit/resources/ui/gedit-window.ui
+++ b/gedit/resources/ui/gedit-window.ui
@@ -156,11 +156,6 @@
                     <property name="visible">True</property>
                     <property name="orientation">vertical</property>
                     <child>
-                      <object class="GtkStack" id="side_panel">
-                        <property name="visible">False</property>
-                      </object>
-                    </child>
-                    <child>
                       <object class="GeditMenuStackSwitcher" id="side_panel_inline_stack_switcher">
                         <property name="visible">False</property>
                         <property name="stack">side_panel</property>
@@ -174,6 +169,11 @@
                         <property name="position">2</property>
                       </packing>
                     </child>
+                    <child>
+                      <object class="GtkStack" id="side_panel">
+                        <property name="visible">False</property>
+                      </object>
+                    </child>
                   </object>
                   <packing>
                     <property name="resize">False</property>


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