From 970be0bc83bcc18ef412e4b60f34523e9e03994c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 19 Jul 2008 06:15:47 +0200 Subject: [PATCH] Sort the font combo by font name --- katze/katze-utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/katze/katze-utils.c b/katze/katze-utils.c index 8af1bbdd..adb300d9 100644 --- a/katze/katze-utils.c +++ b/katze/katze-utils.c @@ -227,6 +227,9 @@ katze_property_proxy (gpointer object, gtk_combo_box_set_active (GTK_COMBO_BOX (widget), i); i++; } + gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE ( + gtk_combo_box_get_model (GTK_COMBO_BOX (widget))), + 0, GTK_SORT_ASCENDING); g_signal_connect (widget, "changed", G_CALLBACK (proxy_combo_box_text_changed_cb), object); g_free (families);