comparison pidgin/gtkcertmgr.c @ 19650:2604ae7c227b

Sort the certificates by hostname
author Mark Doliner <mark@kingant.net>
date Wed, 05 Sep 2007 06:24:35 +0000
parents 759273051b26
children 44b4e8bd759b
comparison
equal deleted inserted replaced
19649:c6f1f9971c4a 19650:2604ae7c227b
452 "Hostname", 452 "Hostname",
453 renderer, 453 renderer,
454 "text", TPM_HOSTNAME_COLUMN, 454 "text", TPM_HOSTNAME_COLUMN,
455 NULL); 455 NULL);
456 gtk_tree_view_append_column(GTK_TREE_VIEW(listview), column); 456 gtk_tree_view_append_column(GTK_TREE_VIEW(listview), column);
457
458 gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(store),
459 TPM_HOSTNAME_COLUMN, GTK_SORT_ASCENDING);
457 } 460 }
458 461
459 /* Get the treeview selector into the struct */ 462 /* Get the treeview selector into the struct */
460 tpm_dat->listselect = select = 463 tpm_dat->listselect = select =
461 gtk_tree_view_get_selection(GTK_TREE_VIEW(listview)); 464 gtk_tree_view_get_selection(GTK_TREE_VIEW(listview));