mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: use EggPaned
This commit is contained in:
@ -4,19 +4,18 @@
|
||||
<object class="GtkStack" id="stack">
|
||||
<property name="visible">true</property>
|
||||
<child>
|
||||
<object class="GtkPaned" id="callgraph">
|
||||
<object class="EggPaned" id="callgraph">
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="position">450</property>
|
||||
<property name="visible">true</property>
|
||||
<property name="resize-start-child">true</property>
|
||||
<property name="resize-end-child">true</property>
|
||||
<child>
|
||||
<object class="GtkPaned">
|
||||
<object class="EggPaned">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="visible">true</property>
|
||||
<property name="width-request">400</property>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="visible">true</property>
|
||||
<property name="vexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="functions_view">
|
||||
<property name="fixed-height-mode">true</property>
|
||||
@ -76,6 +75,7 @@
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="visible">true</property>
|
||||
<property name="vexpand">true</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="callers_view">
|
||||
<property name="visible">true</property>
|
||||
@ -135,6 +135,7 @@
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow">
|
||||
<property name="hexpand">true</property>
|
||||
<property name="visible">true</property>
|
||||
<child>
|
||||
<object class="GtkTreeView" id="descendants_view">
|
||||
|
||||
@ -24,6 +24,8 @@
|
||||
|
||||
#include <glib/gi18n.h>
|
||||
|
||||
#include "egg-paned-private.h"
|
||||
|
||||
#include "sysprof-details-page.h"
|
||||
#include "sysprof-display-private.h"
|
||||
#include "sysprof-profiler-assistant.h"
|
||||
@ -494,6 +496,7 @@ sysprof_display_class_init (SysprofDisplayClass *klass)
|
||||
|
||||
g_object_class_install_properties (object_class, N_PROPS, properties);
|
||||
|
||||
g_type_ensure (EGG_TYPE_PANED);
|
||||
g_type_ensure (SYSPROF_TYPE_DETAILS_PAGE);
|
||||
g_type_ensure (SYSPROF_TYPE_FAILED_STATE_VIEW);
|
||||
g_type_ensure (SYSPROF_TYPE_PROFILER_ASSISTANT);
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<object class="GtkStackPage">
|
||||
<property name="name">view</property>
|
||||
<property name="child">
|
||||
<object class="GtkPaned">
|
||||
<object class="EggPaned">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
|
||||
@ -43,6 +43,7 @@
|
||||
|
||||
#include "../stackstash.h"
|
||||
|
||||
#include "egg-paned-private.h"
|
||||
#include "egg-three-grid.h"
|
||||
|
||||
#include "sysprof-cell-renderer-percent.h"
|
||||
@ -1165,6 +1166,7 @@ sysprof_memprof_page_class_init (SysprofMemprofPageClass *klass)
|
||||
gtk_widget_class_add_binding_action (widget_class, GDK_KEY_c, GDK_CONTROL_MASK, "page.copy", NULL);
|
||||
gtk_widget_class_add_binding_signal (widget_class, GDK_KEY_Left, GDK_ALT_MASK, "go-previous", NULL);
|
||||
|
||||
g_type_ensure (EGG_TYPE_PANED);
|
||||
g_type_ensure (EGG_TYPE_THREE_GRID);
|
||||
g_type_ensure (SYSPROF_TYPE_CELL_RENDERER_PERCENT);
|
||||
}
|
||||
|
||||
@ -222,15 +222,12 @@
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkPaned" id="callgraph">
|
||||
<object class="EggPaned" id="callgraph">
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="position">450</property>
|
||||
<property name="expand">true</property>
|
||||
<property name="visible">true</property>
|
||||
<property name="resize-start">true</property>
|
||||
<property name="resize-end">true</property>
|
||||
<child>
|
||||
<object class="GtkPaned">
|
||||
<object class="EggPaned">
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="visible">true</property>
|
||||
<child>
|
||||
|
||||
Reference in New Issue
Block a user