resourceview remove expanders
authorpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Nov 2007 16:42:35 +0000 (16:42 +0000)
committerpmf <pmf@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 27 Nov 2007 16:42:35 +0000 (16:42 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2760 04897980-b3bd-0310-b5e0-8ef037075253

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

index 503adf475e1c1df54ab5a8e620f1354dd3947444..71c7fe6381427fa4ed870a5715f5b062e0ee3e20 100644 (file)
@@ -298,7 +298,13 @@ ProcessList *processlist_construct(void)
   process_list->process_list_widget = 
     gtk_tree_view_new_with_model
     (GTK_TREE_MODEL (process_list->list_store));
-  g_object_set(process_list->process_list_widget, "enable-tree-lines", TRUE, NULL);
+
+  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_unref (G_OBJECT (process_list->list_store));
 
@@ -308,7 +314,6 @@ 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,
@@ -368,7 +373,7 @@ ProcessList *processlist_construct(void)
   process_list->restypes[RV_RESOURCE_CPU].hash_table = g_hash_table_new(ru_numeric_hash_fct, ru_numeric_equ_fct);
   process_list->restypes[RV_RESOURCE_IRQ].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.025736 seconds and 4 git commands to generate.