libsysprof-gtk: add depth of traceable to column view

This commit is contained in:
Christian Hergert
2023-06-12 16:49:32 -07:00
parent 6a71988020
commit 535c7be1e4

View File

@ -238,7 +238,6 @@
<child>
<object class="GtkColumnViewColumn" id="traceables_pid_column">
<property name="title" translatable="yes">PID</property>
<property name="expand">true</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
@ -260,6 +259,37 @@
</property>
</template>
</interface>
]]>
</property>
</object>
</property>
</object>
</child>
<child>
<object class="GtkColumnViewColumn" id="traceables_depth_column">
<property name="title" translatable="yes">Depth</property>
<property name="expand">true</property>
<property name="factory">
<object class="GtkBuilderListItemFactory">
<property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GtkListItem">
<property name="child">
<object class="GtkLabel">
<property name="xalign">0</property>
<attributes>
<attribute name="font-features" value="'tnum'"/>
</attributes>
<binding name="label">
<lookup name="stack-depth" type="SysprofDocumentTraceable">
<lookup name="item">GtkListItem</lookup>
</lookup>
</binding>
</object>
</property>
</template>
</interface>
]]>
</property>
</object>