mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
detailspage: dedazzle
This commit is contained in:
@ -22,19 +22,20 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <dazzle.h>
|
|
||||||
#include <glib/gi18n.h>
|
#include <glib/gi18n.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "sysprof-details-page.h"
|
#include "sysprof-details-page.h"
|
||||||
#include "sysprof-ui-private.h"
|
#include "sysprof-ui-private.h"
|
||||||
|
|
||||||
|
#include "egg-three-grid.h"
|
||||||
|
|
||||||
struct _SysprofDetailsPage
|
struct _SysprofDetailsPage
|
||||||
{
|
{
|
||||||
SysprofPage parent_instance;
|
SysprofPage parent_instance;
|
||||||
|
|
||||||
/* Template Objects */
|
/* Template Objects */
|
||||||
DzlThreeGrid *three_grid;
|
EggThreeGrid *three_grid;
|
||||||
GtkListStore *marks_store;
|
GtkListStore *marks_store;
|
||||||
GtkTreeView *marks_view;
|
GtkTreeView *marks_view;
|
||||||
GtkLabel *counters;
|
GtkLabel *counters;
|
||||||
@ -96,7 +97,7 @@ sysprof_details_page_class_init (SysprofDetailsPageClass *klass)
|
|||||||
gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, start_time);
|
gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, start_time);
|
||||||
gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, three_grid);
|
gtk_widget_class_bind_template_child (widget_class, SysprofDetailsPage, three_grid);
|
||||||
|
|
||||||
g_type_ensure (DZL_TYPE_THREE_GRID);
|
g_type_ensure (EGG_TYPE_THREE_GRID);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -266,13 +267,13 @@ sysprof_details_page_add_item (SysprofDetailsPage *self,
|
|||||||
if (left)
|
if (left)
|
||||||
gtk_container_add_with_properties (GTK_CONTAINER (self->three_grid), left,
|
gtk_container_add_with_properties (GTK_CONTAINER (self->three_grid), left,
|
||||||
"row", self->next_row,
|
"row", self->next_row,
|
||||||
"column", DZL_THREE_GRID_COLUMN_LEFT,
|
"column", EGG_THREE_GRID_COLUMN_LEFT,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (center)
|
if (center)
|
||||||
gtk_container_add_with_properties (GTK_CONTAINER (self->three_grid), center,
|
gtk_container_add_with_properties (GTK_CONTAINER (self->three_grid), center,
|
||||||
"row", self->next_row,
|
"row", self->next_row,
|
||||||
"column", DZL_THREE_GRID_COLUMN_CENTER,
|
"column", EGG_THREE_GRID_COLUMN_CENTER,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
self->next_row++;
|
self->next_row++;
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
<property name="propagate-natural-height">true</property>
|
<property name="propagate-natural-height">true</property>
|
||||||
<property name="visible">true</property>
|
<property name="visible">true</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="DzlThreeGrid" id="three_grid">
|
<object class="EggThreeGrid" id="three_grid">
|
||||||
<property name="margin">36</property>
|
<property name="margin">36</property>
|
||||||
<property name="column-spacing">12</property>
|
<property name="column-spacing">12</property>
|
||||||
<property name="row-spacing">6</property>
|
<property name="row-spacing">6</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user