# HG changeset patch # User Richard Laager # Date 1120166480 0 # Node ID 61c7edaca9332f00fa7746716210398ce28a632f # Parent c0421a7cba03e099f1f51f13c9d96929116b5a56 [gaim-migrate @ 12972] Sort the user lists in the privacy dialog. committer: Tailor Script diff -r c0421a7cba03 -r 61c7edaca933 src/gtkprivacy.c --- 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;