changeset 19651:2604ae7c227b

Sort the certificates by hostname
author Mark Doliner <mark@kingant.net>
date Wed, 05 Sep 2007 06:24:35 +0000
parents c6f1f9971c4a
children e21002d106ab
files pidgin/gtkcertmgr.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkcertmgr.c	Wed Sep 05 05:43:08 2007 +0000
+++ b/pidgin/gtkcertmgr.c	Wed Sep 05 06:24:35 2007 +0000
@@ -454,6 +454,9 @@
 			"text", TPM_HOSTNAME_COLUMN,
 			NULL);
 		gtk_tree_view_append_column(GTK_TREE_VIEW(listview), column);
+
+		gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(store),
+				TPM_HOSTNAME_COLUMN, GTK_SORT_ASCENDING);
 	}
 	
 	/* Get the treeview selector into the struct */