From: pmf Date: Tue, 27 Nov 2007 16:43:25 +0000 (+0000) Subject: Revert "resourceview remove expanders" X-Git-Tag: v0.12.20~719 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=0dd8209a986e1fd62bc29f4a050b253ff62f1bce;p=lttv.git Revert "resourceview remove expanders" This reverts commit 8fd38779e56cb6b2f399a052393760d856d08fa6. git-svn-id: http://ltt.polymtl.ca/svn@2770 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c index 1af16a7e..dd133914 100644 --- a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c @@ -298,13 +298,7 @@ ProcessList *processlist_construct(void) process_list->process_list_widget = gtk_tree_view_new_with_model (GTK_TREE_MODEL (process_list->list_store)); - - gtk_tree_view_set_show_expanders( - GTK_TREE_VIEW(process_list->process_list_widget), FALSE); - gtk_tree_view_set_level_indentation( - process_list->process_list_widget, 20); - - gtk_tree_view_set_enable_tree_lines(process_list->process_list_widget, TRUE); + g_object_set(process_list->process_list_widget, "enable-tree-lines", TRUE, NULL); g_object_unref (G_OBJECT (process_list->list_store)); @@ -314,6 +308,7 @@ ProcessList *processlist_construct(void) NULL, NULL); + gtk_tree_sortable_set_sort_column_id( GTK_TREE_SORTABLE(process_list->list_store), GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, @@ -375,7 +370,7 @@ ProcessList *processlist_construct(void) process_list->restypes[RV_RESOURCE_SOFT_IRQ].hash_table = g_hash_table_new(ru_numeric_hash_fct, ru_numeric_equ_fct); process_list->restypes[RV_RESOURCE_TRAP].hash_table = g_hash_table_new(ru_numeric_hash_fct, ru_numeric_equ_fct); process_list->restypes[RV_RESOURCE_BDEV].hash_table = g_hash_table_new(ru_numeric_hash_fct, ru_numeric_equ_fct); - + return process_list; }