From 80fdc3cbffc8644a8fb39e1e0c2b65c86cd9439c Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 19 Aug 2004 06:02:58 +0000 Subject: [PATCH] sort the list.. git-svn-id: http://ltt.polymtl.ca/svn@819 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/controlflow/processlist.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c index 67d565a8..d3ef83b2 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c @@ -339,7 +339,14 @@ ProcessList *processlist_construct(void) process_sort_func, NULL, NULL); - + + + gtk_tree_sortable_set_sort_column_id( + GTK_TREE_SORTABLE(process_list->list_store), + GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, + GTK_SORT_ASCENDING); + + process_list->process_hash = g_hash_table_new_full( process_list_hash_fct, process_list_equ_fct, destroy_hash_key, destroy_hash_data -- 2.34.1