Revert "resourceview remove expanders"
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Nov 2007 16:43:25 +0000 (16:43 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Nov 2007 16:43:25 +0000 (16:43 +0000)
This reverts commit 8fd38779e56cb6b2f399a052393760d856d08fa6.

git-svn-id: http://ltt.polymtl.ca/svn@2770 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c

index 1af16a7e44c4d0cafceb0513026f82086090f1ca..dd13391448c75a0715bf0359177df30e2947da48 100644 (file)
@@ -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;
 }
 
This page took 0.025482 seconds and 4 git commands to generate.