[sysprof] libsysprof-ui: move controls above stack



commit dd6b44cb2f9a03fe34885c25b39e3b07cd1485bc
Author: Christian Hergert <chergert redhat com>
Date:   Tue Feb 18 19:56:30 2020 -0800

    libsysprof-ui: move controls above stack

 src/libsysprof-ui/sysprof-memprof-page.ui | 138 +++++++++++++++---------------
 1 file changed, 69 insertions(+), 69 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-memprof-page.ui b/src/libsysprof-ui/sysprof-memprof-page.ui
index a93f253..b602a92 100644
--- a/src/libsysprof-ui/sysprof-memprof-page.ui
+++ b/src/libsysprof-ui/sysprof-memprof-page.ui
@@ -1,62 +1,62 @@
 <interface>
   <template class="SysprofMemprofPage" parent="SysprofPage">
     <child>
-      <object class="GtkStack" id="stack">
+      <object class="GtkBox">
+        <property name="orientation">vertical</property>
         <property name="visible">true</property>
         <child>
           <object class="GtkBox">
-            <property name="orientation">vertical</property>
+            <property name="orientation">horizontal</property>
             <property name="visible">true</property>
-            <child>
+            <child type="center">
               <object class="GtkBox">
+                <property name="margin-top">6</property>
+                <property name="margin-bottom">6</property>
                 <property name="orientation">horizontal</property>
+                <property name="homogeneous">true</property>
                 <property name="visible">true</property>
-                <child type="center">
-                  <object class="GtkBox">
-                    <property name="margin-top">6</property>
-                    <property name="margin-bottom">6</property>
-                    <property name="orientation">horizontal</property>
-                    <property name="homogeneous">true</property>
+                <style>
+                  <class name="linked"/>
+                </style>
+                <child>
+                  <object class="GtkRadioButton" id="summary">
+                    <property name="label" translatable="yes">Summary</property>
+                    <property name="draw-indicator">false</property>
+                    <property name="visible">false</property>
+                    <property name="active">false</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="all_allocs">
+                    <property name="label" translatable="yes">All Allocations</property>
+                    <property name="draw-indicator">false</property>
                     <property name="visible">true</property>
-                    <style>
-                      <class name="linked"/>
-                    </style>
-                    <child>
-                      <object class="GtkRadioButton" id="summary">
-                        <property name="label" translatable="yes">Summary</property>
-                        <property name="draw-indicator">false</property>
-                        <property name="visible">false</property>
-                        <property name="active">false</property>
-                      </object>
-                    </child>
-                    <child>
-                      <object class="GtkRadioButton" id="all_allocs">
-                        <property name="label" translatable="yes">All Allocations</property>
-                        <property name="draw-indicator">false</property>
-                        <property name="visible">true</property>
-                        <property name="group">summary</property>
-                        <property name="active">true</property>
-                      </object>
-                    </child>
-                    <child>
-                      <object class="GtkRadioButton" id="temp_allocs">
-                        <property name="label" translatable="yes">Temporary Allocations</property>
-                        <property name="draw-indicator">false</property>
-                        <property name="visible">true</property>
-                        <property name="active">false</property>
-                        <property name="group">summary</property>
-                      </object>
-                    </child>
+                    <property name="group">summary</property>
+                    <property name="active">true</property>
+                  </object>
+                </child>
+                <child>
+                  <object class="GtkRadioButton" id="temp_allocs">
+                    <property name="label" translatable="yes">Temporary Allocations</property>
+                    <property name="draw-indicator">false</property>
+                    <property name="visible">true</property>
+                    <property name="active">false</property>
+                    <property name="group">summary</property>
                   </object>
                 </child>
               </object>
             </child>
-            <child>
-              <object class="GtkSeparator">
-                <property name="orientation">horizontal</property>
-                <property name="visible">true</property>
-              </object>
-            </child>
+          </object>
+        </child>
+        <child>
+          <object class="GtkSeparator">
+            <property name="orientation">horizontal</property>
+            <property name="visible">true</property>
+          </object>
+        </child>
+        <child>
+          <object class="GtkStack" id="stack">
+            <property name="visible">true</property>
             <child>
               <object class="GtkPaned">
                 <property name="orientation">horizontal</property>
@@ -258,33 +258,33 @@
                   </object>
                 </child>
               </object>
+              <packing>
+                <property name="name">callgraph</property>
+              </packing>
+            </child>
+            <child>
+              <object class="DzlEmptyState">
+                <property name="icon-name">content-loading-symbolic</property>
+                <property name="title" translatable="yes">Generating Callgraph</property>
+                <property name="subtitle" translatable="yes">Sysprof is busy creating the selected 
callgraph.</property>
+                <property name="visible">true</property>
+              </object>
+              <packing>
+                <property name="name">loading</property>
+              </packing>
+            </child>
+            <child>
+              <object class="DzlEmptyState">
+                <property name="icon-name">computer-fail-symbolic</property>
+                <property name="title" translatable="yes">Not Enough Samples</property>
+                <property name="subtitle" translatable="yes">More samples are necessary to display a 
callgraph.</property>
+                <property name="visible">false</property>
+              </object>
+              <packing>
+                <property name="name">empty-state</property>
+              </packing>
             </child>
           </object>
-          <packing>
-            <property name="name">callgraph</property>
-          </packing>
-        </child>
-        <child>
-          <object class="DzlEmptyState">
-            <property name="icon-name">content-loading-symbolic</property>
-            <property name="title" translatable="yes">Generating Callgraph</property>
-            <property name="subtitle" translatable="yes">Sysprof is busy creating the selected 
callgraph.</property>
-            <property name="visible">true</property>
-          </object>
-          <packing>
-            <property name="name">loading</property>
-          </packing>
-        </child>
-        <child>
-          <object class="DzlEmptyState">
-            <property name="icon-name">computer-fail-symbolic</property>
-            <property name="title" translatable="yes">Not Enough Samples</property>
-            <property name="subtitle" translatable="yes">More samples are necessary to display a 
callgraph.</property>
-            <property name="visible">false</property>
-          </object>
-          <packing>
-            <property name="name">empty-state</property>
-          </packing>
         </child>
       </object>
     </child>


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