[glade/modern-ui: 9/32] GladeWindow: moved statusbar on top of workspace



commit f93c1a38b09af08cc62fe75bbce18853fa60bee7
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Sat Jun 10 22:44:17 2017 -0300

    GladeWindow: moved statusbar on top of workspace

 src/glade.glade |   52 ++++++++++++++++++++++++++++++----------------------
 1 files changed, 30 insertions(+), 22 deletions(-)
---
diff --git a/src/glade.glade b/src/glade.glade
index 238928d..7b405e2 100644
--- a/src/glade.glade
+++ b/src/glade.glade
@@ -1004,16 +1004,37 @@ Andreas Nilsson &lt;andreas andreasn se&gt;</property>
                     <property name="label_xalign">0</property>
                     <property name="shadow_type">in</property>
                     <child>
-                      <object class="GtkNotebook" id="notebook">
-                        <property name="width_request">256</property>
+                      <object class="GtkOverlay">
                         <property name="visible">True</property>
-                        <property name="can_focus">True</property>
-                        <property name="show_tabs">False</property>
-                        <property name="show_border">False</property>
-                        <property name="scrollable">True</property>
-                        <signal name="page-added" handler="on_notebook_tab_added" swapped="no"/>
-                        <signal name="page-removed" handler="on_notebook_tab_removed" swapped="no"/>
-                        <signal name="switch-page" handler="on_notebook_switch_page" swapped="no"/>
+                        <property name="can_focus">False</property>
+                        <child>
+                          <object class="GtkNotebook" id="notebook">
+                            <property name="width_request">256</property>
+                            <property name="visible">True</property>
+                            <property name="can_focus">False</property>
+                            <property name="show_tabs">False</property>
+                            <property name="show_border">False</property>
+                            <property name="scrollable">True</property>
+                            <signal name="page-added" handler="on_notebook_tab_added" swapped="no"/>
+                            <signal name="page-removed" handler="on_notebook_tab_removed" swapped="no"/>
+                            <signal name="switch-page" handler="on_notebook_switch_page" swapped="no"/>
+                          </object>
+                          <packing>
+                            <property name="index">-1</property>
+                          </packing>
+                        </child>
+                        <child type="overlay">
+                          <object class="GtkStatusbar" id="statusbar">
+                            <property name="visible">True</property>
+                            <property name="can_focus">False</property>
+                            <property name="valign">end</property>
+                            <property name="orientation">vertical</property>
+                            <property name="spacing">2</property>
+                          </object>
+                          <packing>
+                            <property name="pass_through">True</property>
+                          </packing>
+                        </child>
                       </object>
                     </child>
                   </object>
@@ -1046,19 +1067,6 @@ Andreas Nilsson &lt;andreas andreasn se&gt;</property>
             <property name="position">2</property>
           </packing>
         </child>
-        <child>
-          <object class="GtkStatusbar" id="statusbar">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="orientation">vertical</property>
-            <property name="spacing">2</property>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">3</property>
-          </packing>
-        </child>
       </object>
     </child>
     <child type="titlebar">


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