13
0

Allow to easily pick any session type one can open

This commit is contained in:
Robin Gareus 2024-02-19 16:00:02 +01:00
parent 15eae21c37
commit 35de41a419
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -473,6 +473,13 @@ SessionDialog::setup_initial_choice_box ()
aaf_filter.set_name (_("Advanced Authoring Format (AAF)")); aaf_filter.set_name (_("Advanced Authoring Format (AAF)"));
existing_session_chooser.add_filter (aaf_filter); existing_session_chooser.add_filter (aaf_filter);
FileFilter all_filter;
all_filter.add_pattern (string_compose(X_("*%1"), ARDOUR::statefile_suffix));
aaf_filter.add_pattern (string_compose(X_("*%1"), ARDOUR::session_archive_suffix));
aaf_filter.add_pattern (string_compose(X_("*%1"), ARDOUR::advanced_authoring_format_suffix));
aaf_filter.set_name (_("All supported files"));
existing_session_chooser.add_filter (all_filter);
existing_session_chooser.set_filter (session_filter); existing_session_chooser.set_filter (session_filter);
Gtkmm2ext::add_volume_shortcuts (existing_session_chooser); Gtkmm2ext::add_volume_shortcuts (existing_session_chooser);