libsysprof-ui: move controls above stack

This commit is contained in:
Christian Hergert
2020-02-18 19:56:30 -08:00
parent 16e35c1fa6
commit dd6b44cb2f

View File

@ -1,62 +1,62 @@
<interface> <interface>
<template class="SysprofMemprofPage" parent="SysprofPage"> <template class="SysprofMemprofPage" parent="SysprofPage">
<child> <child>
<object class="GtkStack" id="stack"> <object class="GtkBox">
<property name="orientation">vertical</property>
<property name="visible">true</property> <property name="visible">true</property>
<child> <child>
<object class="GtkBox"> <object class="GtkBox">
<property name="orientation">vertical</property> <property name="orientation">horizontal</property>
<property name="visible">true</property> <property name="visible">true</property>
<child> <child type="center">
<object class="GtkBox"> <object class="GtkBox">
<property name="margin-top">6</property>
<property name="margin-bottom">6</property>
<property name="orientation">horizontal</property> <property name="orientation">horizontal</property>
<property name="homogeneous">true</property>
<property name="visible">true</property> <property name="visible">true</property>
<child type="center"> <style>
<object class="GtkBox"> <class name="linked"/>
<property name="margin-top">6</property> </style>
<property name="margin-bottom">6</property> <child>
<property name="orientation">horizontal</property> <object class="GtkRadioButton" id="summary">
<property name="homogeneous">true</property> <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="visible">true</property>
<style> <property name="group">summary</property>
<class name="linked"/> <property name="active">true</property>
</style> </object>
<child> </child>
<object class="GtkRadioButton" id="summary"> <child>
<property name="label" translatable="yes">Summary</property> <object class="GtkRadioButton" id="temp_allocs">
<property name="draw-indicator">false</property> <property name="label" translatable="yes">Temporary Allocations</property>
<property name="visible">false</property> <property name="draw-indicator">false</property>
<property name="active">false</property> <property name="visible">true</property>
</object> <property name="active">false</property>
</child> <property name="group">summary</property>
<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>
</object> </object>
</child> </child>
</object> </object>
</child> </child>
<child> </object>
<object class="GtkSeparator"> </child>
<property name="orientation">horizontal</property> <child>
<property name="visible">true</property> <object class="GtkSeparator">
</object> <property name="orientation">horizontal</property>
</child> <property name="visible">true</property>
</object>
</child>
<child>
<object class="GtkStack" id="stack">
<property name="visible">true</property>
<child> <child>
<object class="GtkPaned"> <object class="GtkPaned">
<property name="orientation">horizontal</property> <property name="orientation">horizontal</property>
@ -258,33 +258,33 @@
</object> </object>
</child> </child>
</object> </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> </child>
</object> </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> </child>
</object> </object>
</child> </child>