From: compudj Date: Thu, 19 Aug 2004 06:02:58 +0000 (+0000) Subject: sort the list.. X-Git-Tag: v0.12.20~2670 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=80fdc3cbffc8644a8fb39e1e0c2b65c86cd9439c;p=lttv.git sort the list.. git-svn-id: http://ltt.polymtl.ca/svn@819 04897980-b3bd-0310-b5e0-8ef037075253 --- 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