From 6d83fb9ecbe2483beb55a08a7bd849c7dacefe1b Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 31 May 2012 13:58:45 +0200 Subject: sort format-selection combo boxes --- src/format-selection.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/format-selection.c b/src/format-selection.c index fcbff24..e63a6fb 100644 --- a/src/format-selection.c +++ b/src/format-selection.c @@ -175,6 +175,9 @@ format_selection_init(const gchar *dir) formats_store = gtk_list_store_new(NUM_COLS, G_TYPE_STRING, G_TYPE_STRING); + gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(formats_store), + COL_NAME, GTK_SORT_ASCENDING); + gtk_combo_box_set_model(GTK_COMBO_BOX(transcript_wizard_combo), GTK_TREE_MODEL(formats_store)); gtk_combo_box_set_model(GTK_COMBO_BOX(transcript_proband_combo), -- cgit v1.2.3