# HG changeset patch # User Elliott Sales de Andrade # Date 1316802241 0 # Node ID fa4b88cf8b566bce2d88ad29e2480202c05e5609 # Parent 73d04f4b18ee3d9f39ddada7dff841b71d4ee624 Sort the variant list in the Preferences. It tends to be very long, so it shouldn't be done at load time, but its average length dictates that it should be done for the UI, at least. diff -r 73d04f4b18ee -r fa4b88cf8b56 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Fri Sep 23 17:50:24 2011 +0000 +++ b/pidgin/gtkprefs.c Fri Sep 23 18:24:01 2011 +0000 @@ -1247,6 +1247,9 @@ vbox, combo_sg, label_sg, prefs_conv_variants, (GCallback)prefs_set_conv_variant_cb, NULL, _("\tVariant:")); + gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(prefs_conv_variants), + 0, GTK_SORT_ASCENDING); + /* Status Icon Themes */ prefs_status_themes_combo_box = add_theme_prefs_combo( vbox, combo_sg, label_sg, prefs_status_icon_themes,