libsysprof-ui: start attaching profiler button to record

This commit is contained in:
Christian Hergert
2019-05-16 22:40:27 -07:00
parent 47610f8660
commit cb5590b9fb
3 changed files with 32 additions and 39 deletions

View File

@ -2,30 +2,10 @@
<interface>
<template class="SysprofProfilerMenuButton" parent="GtkMenuButton">
<property name="popover">popover</property>
<property name="width-request">150</property>
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="spacing">6</property>
<object class="GtkImage">
<property name="icon-name">pan-down-symbolic</property>
<property name="visible">true</property>
<child>
<object class="GtkLabel" id="label">
<property name="ellipsize">end</property>
<property name="visible">true</property>
</object>
<packing>
<property name="expand">true</property>
</packing>
</child>
<child>
<object class="GtkImage">
<property name="icon-name">pan-down-symbolic</property>
<property name="visible">true</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
</object>
</child>
</template>
@ -36,6 +16,12 @@
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="visible">true</property>
<child>
<object class="GtkLabel" id="label">
<property name="xalign">0.0</property>
<property name="visible">true</property>
</object>
</child>
<child>
<object class="GtkStackSwitcher">
<property name="border-width">6</property>