pidgin: 19269142: Sort the variant list in the Preferences...

qulogic at qulogic at
Fri Sep 23 14:30:56 EDT 2011

Revision: 19269142b434e53275204054d880491c5eb24a1d
Parent:   38d655341c8e806dad68bb4832cfced864f07fec
Author:   qulogic at
Date:     09/23/11 14:24:01
Branch:   im.pidgin.pidgin


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.

Changes against parent 38d655341c8e806dad68bb4832cfced864f07fec

  patched  pidgin/gtkprefs.c

-------------- next part --------------
--- pidgin/gtkprefs.c	f405bba7b160b3548e78dcb97389c78df6953c1f
+++ pidgin/gtkprefs.c	43c82875dc26637afea56c11ac4228b3c0c5ad3c
@@ -1247,6 +1247,9 @@ theme_page(void)
 		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,

More information about the Commits mailing list