changeset 11047:61c7edaca933

[gaim-migrate @ 12972] Sort the user lists in the privacy dialog. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Thu, 30 Jun 2005 21:21:20 +0000
parents c0421a7cba03
children 3f04018e1308
files src/gtkprivacy.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprivacy.c	Thu Jun 30 06:50:55 2005 +0000
+++ b/src/gtkprivacy.c	Thu Jun 30 21:21:20 2005 +0000
@@ -186,6 +186,8 @@
 
 	dialog->allow_store = gtk_list_store_new(1, G_TYPE_STRING);
 
+	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(dialog->allow_store), 0, GTK_SORT_ASCENDING);
+
 	widget = build_list(dialog, dialog->allow_store, &list);
 
 	dialog->allow_list = list;
@@ -203,6 +205,8 @@
 
 	dialog->block_store = gtk_list_store_new(1, G_TYPE_STRING);
 
+	gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(dialog->block_store), 0, GTK_SORT_ASCENDING);
+
 	widget = build_list(dialog, dialog->block_store, &list);
 
 	dialog->block_list = list;