gaim/gaim

Sort the user lists in the privacy dialog.
oldstatus
2005-06-30, Richard Laager
ae0b15352b0c
Parents a99a17a99a8f
Children b3157cd622b4
Sort the user lists in the privacy dialog.
--- a/src/gtkprivacy.c Thu Jun 30 02:23:34 2005 -0400
+++ b/src/gtkprivacy.c Thu Jun 30 17:21:35 2005 -0400
@@ -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;