13
0

sort export formats & presets in alphabetical name order

git-svn-id: svn://localhost/ardour2/branches/3.0@9135 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-03-13 16:22:24 +00:00
parent 54a5a796c4
commit 5c4f7313ef
2 changed files with 2 additions and 0 deletions

View File

@ -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);

View File

@ -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);