Sort the font combo by font name
This commit is contained in:
parent
2f7570cfbd
commit
970be0bc83
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ katze_property_proxy (gpointer object,
|
||||||
gtk_combo_box_set_active (GTK_COMBO_BOX (widget), i);
|
gtk_combo_box_set_active (GTK_COMBO_BOX (widget), i);
|
||||||
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_signal_connect (widget, "changed",
|
||||||
G_CALLBACK (proxy_combo_box_text_changed_cb), object);
|
G_CALLBACK (proxy_combo_box_text_changed_cb), object);
|
||||||
g_free (families);
|
g_free (families);
|
||||||
|
|
Loading…
Reference in a new issue