From 5c4f7313ef3f5f56dbc5777a0f78061c5472b29e Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 13 Mar 2011 16:22:24 +0000 Subject: [PATCH] sort export formats & presets in alphabetical name order git-svn-id: svn://localhost/ardour2/branches/3.0@9135 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/export_format_selector.cc | 1 + gtk2_ardour/export_preset_selector.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/gtk2_ardour/export_format_selector.cc b/gtk2_ardour/export_format_selector.cc index 6b1f75987e..d3ffce936a 100644 --- a/gtk2_ardour/export_format_selector.cc +++ b/gtk2_ardour/export_format_selector.cc @@ -50,6 +50,7 @@ ExportFormatSelector::ExportFormatSelector () : /* Format combo */ format_list = Gtk::ListStore::create (format_cols); + format_list->set_sort_column (format_cols.label, Gtk::SORT_ASCENDING); format_combo.set_model (format_list); format_combo.pack_start (format_cols.label); format_combo.set_active (0); diff --git a/gtk2_ardour/export_preset_selector.cc b/gtk2_ardour/export_preset_selector.cc index c0cf53036c..3898916bc0 100644 --- a/gtk2_ardour/export_preset_selector.cc +++ b/gtk2_ardour/export_preset_selector.cc @@ -31,6 +31,7 @@ ExportPresetSelector::ExportPresetSelector () : new_button (Gtk::Stock::NEW) { list = Gtk::ListStore::create (cols); + list->set_sort_column (cols.label, Gtk::SORT_ASCENDING); entry.set_model (list); entry.set_text_column (cols.label);