mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
sysprof: switch over to SysprofTreeExpander
Still a bit more to do, but good enough to switch for now.
This commit is contained in:
@ -117,7 +117,6 @@
|
|||||||
<property name="propagate-natural-height">true</property>
|
<property name="propagate-natural-height">true</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkColumnView" id="descendants_column_view">
|
<object class="GtkColumnView" id="descendants_column_view">
|
||||||
<signal name="activate" handler="descendant_activated_cb" swapped="true"/>
|
|
||||||
<style>
|
<style>
|
||||||
<class name="data-table"/>
|
<class name="data-table"/>
|
||||||
</style>
|
</style>
|
||||||
@ -136,7 +135,9 @@
|
|||||||
<interface>
|
<interface>
|
||||||
<template class="GtkListItem">
|
<template class="GtkListItem">
|
||||||
<property name="child">
|
<property name="child">
|
||||||
<object class="GtkTreeExpander" id="expander">
|
<object class="SysprofTreeExpander" id="expander">
|
||||||
|
<property name="focusable">true</property>
|
||||||
|
<property name="menu-model">menu_model</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkShortcutController">
|
<object class="GtkShortcutController">
|
||||||
<property name="propagation-phase">capture</property>
|
<property name="propagation-phase">capture</property>
|
||||||
@ -211,6 +212,15 @@
|
|||||||
</object>
|
</object>
|
||||||
</property>
|
</property>
|
||||||
</template>
|
</template>
|
||||||
|
<menu id="menu_model">
|
||||||
|
<section>
|
||||||
|
<attribute name="label" translatable="yes">Callgraph</attribute>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">Set Function as Root</attribute>
|
||||||
|
<attribute name="action">callgraph.make-descendant-root</attribute>
|
||||||
|
</item>
|
||||||
|
</section>
|
||||||
|
</menu>
|
||||||
</interface>
|
</interface>
|
||||||
]]></property>
|
]]></property>
|
||||||
</object>
|
</object>
|
||||||
|
|||||||
Reference in New Issue
Block a user