[gnome-builder] Add button to collapse sidebar



commit 8c00e7b81918051b731ef5dfa44f32239b66d455
Author: Alexandre Franke <alexandre franke gmail com>
Date:   Sun Apr 12 01:40:56 2015 +0200

    Add button to collapse sidebar

 data/ui/gb-editor-workspace.ui |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/data/ui/gb-editor-workspace.ui b/data/ui/gb-editor-workspace.ui
index ec3fed1..34180bb 100644
--- a/data/ui/gb-editor-workspace.ui
+++ b/data/ui/gb-editor-workspace.ui
@@ -20,6 +20,27 @@
                   <class name="notebook"/>
                   <class name="header"/>
                 </style>
+                <child>
+                  <object class="GtkButton" id="collapse_button">
+                    <property name="action-name">workspace.toggle-sidebar</property>
+                    <property name="margin">3</property>
+                    <property name="visible">true</property>
+                    <style>
+                      <class name="dim-label"/>
+                      <class name="flat"/>
+                      <class name="image-button"/>
+                    </style>
+                    <child>
+                      <object class="GtkImage">
+                        <property name="icon-name">go-previous-symbolic</property>
+                        <property name="visible">true</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="pack-type">start</property>
+                  </packing>
+                </child>
                 <child type="center">
                   <object class="GtkMenuButton" id="project_button">
                     <property name="margin">3</property>


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