mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprof: show frame data for log entry
This commit is contained in:
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include <sysprof-gtk.h>
|
#include <sysprof-gtk.h>
|
||||||
|
|
||||||
|
#include "sysprof-frame-utility.h"
|
||||||
#include "sysprof-logs-section.h"
|
#include "sysprof-logs-section.h"
|
||||||
|
|
||||||
struct _SysprofLogsSection
|
struct _SysprofLogsSection
|
||||||
@ -85,6 +86,7 @@ sysprof_logs_section_class_init (SysprofLogsSectionClass *klass)
|
|||||||
gtk_widget_class_bind_template_callback (widget_class, format_severity);
|
gtk_widget_class_bind_template_callback (widget_class, format_severity);
|
||||||
|
|
||||||
g_type_ensure (SYSPROF_TYPE_DOCUMENT_LOG);
|
g_type_ensure (SYSPROF_TYPE_DOCUMENT_LOG);
|
||||||
|
g_type_ensure (SYSPROF_TYPE_FRAME_UTILITY);
|
||||||
g_type_ensure (SYSPROF_TYPE_TIME_LABEL);
|
g_type_ensure (SYSPROF_TYPE_TIME_LABEL);
|
||||||
g_type_ensure (SYSPROF_TYPE_TIME_SERIES);
|
g_type_ensure (SYSPROF_TYPE_TIME_SERIES);
|
||||||
g_type_ensure (SYSPROF_TYPE_TIME_SPAN_LAYER);
|
g_type_ensure (SYSPROF_TYPE_TIME_SPAN_LAYER);
|
||||||
|
|||||||
@ -67,7 +67,7 @@
|
|||||||
<class name="data-table"/>
|
<class name="data-table"/>
|
||||||
</style>
|
</style>
|
||||||
<property name="model">
|
<property name="model">
|
||||||
<object class="GtkMultiSelection">
|
<object class="GtkSingleSelection" id="selection">
|
||||||
<property name="model">
|
<property name="model">
|
||||||
<object class="GtkSortListModel">
|
<object class="GtkSortListModel">
|
||||||
<binding name="sorter">
|
<binding name="sorter">
|
||||||
@ -238,6 +238,32 @@
|
|||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
<property name="utility">
|
||||||
|
<object class="AdwToolbarView">
|
||||||
|
<style>
|
||||||
|
<class name="utility"/>
|
||||||
|
</style>
|
||||||
|
<child type="top">
|
||||||
|
<object class="AdwHeaderBar">
|
||||||
|
<property name="title-widget">
|
||||||
|
<object class="AdwWindowTitle">
|
||||||
|
<property name="title" translatable="yes">Details</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<property name="content">
|
||||||
|
<object class="SysprofFrameUtility">
|
||||||
|
<binding name="session">
|
||||||
|
<lookup name="session">SysprofLogsSection</lookup>
|
||||||
|
</binding>
|
||||||
|
<binding name="frame">
|
||||||
|
<lookup name="selected-item">selection</lookup>
|
||||||
|
</binding>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
|
</object>
|
||||||
|
</property>
|
||||||
</template>
|
</template>
|
||||||
</interface>
|
</interface>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user