[gedit] Make the statusbar specific to the view



commit d7b1ec64983e17c774d33b6e8fbc8a555a0e42c6
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Jan 7 20:09:42 2014 +0100

    Make the statusbar specific to the view
    
    This way it will not show under the sidebar

 gedit/gedit-window.ui |   55 +++++++++++++++++++++++++++++-------------------
 1 files changed, 33 insertions(+), 22 deletions(-)
---
diff --git a/gedit/gedit-window.ui b/gedit/gedit-window.ui
index 915ad17..7e0d9db 100644
--- a/gedit/gedit-window.ui
+++ b/gedit/gedit-window.ui
@@ -363,29 +363,50 @@
               </packing>
             </child>
             <child>
-              <object class="GtkPaned" id="vpaned">
+              <object class="GtkBox" id="content_box">
                 <property name="visible">True</property>
-                <property name="can_focus">True</property>
-                <property name="has_focus">False</property>
-                <property name="is_focus">False</property>
                 <property name="orientation">vertical</property>
                 <child>
-                  <object class="GeditMultiNotebook" id="multi_notebook">
+                  <object class="GtkPaned" id="vpaned">
                     <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="has_focus">False</property>
+                    <property name="is_focus">False</property>
+                    <property name="orientation">vertical</property>
+                    <child>
+                      <object class="GeditMultiNotebook" id="multi_notebook">
+                        <property name="visible">True</property>
+                      </object>
+                      <packing>
+                        <property name="resize">True</property>
+                        <property name="shrink">False</property>
+                      </packing>
+                    </child>
+                    <child>
+                      <object class="GeditPanel" id="bottom_panel">
+                        <property name="visible">False</property>
+                        <property name="orientation">horizontal</property>
+                      </object>
+                      <packing>
+                        <property name="resize">False</property>
+                        <property name="shrink">False</property>
+                      </packing>
+                    </child>
                   </object>
                   <packing>
-                    <property name="resize">True</property>
-                    <property name="shrink">False</property>
+                    <property name="expand">True</property>
+                    <property name="fill">True</property>
+                    <property name="position">2</property>
                   </packing>
                 </child>
                 <child>
-                  <object class="GeditPanel" id="bottom_panel">
-                    <property name="visible">False</property>
-                    <property name="orientation">horizontal</property>
+                  <object class="GeditStatusbar" id="statusbar">
+                    <property name="visible">True</property>
                   </object>
                   <packing>
-                    <property name="resize">False</property>
-                    <property name="shrink">False</property>
+                    <property name="expand">False</property>
+                    <property name="fill">True</property>
+                    <property name="position">1</property>
                   </packing>
                 </child>
               </object>
@@ -401,16 +422,6 @@
             <property name="position">1</property>
           </packing>
         </child>
-        <child>
-          <object class="GeditStatusbar" id="statusbar">
-            <property name="visible">True</property>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">2</property>
-          </packing>
-        </child>
       </object>
     </child>
   </template>


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