X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fnew_session_dialog.cc;h=d1059cebe08f76b204cccf62f0b84cced5fa0f5d;hb=f535b0f4913a9c0b31ca3b21bd717c367676ebfc;hp=88944aacb7172b55b93d0d56b565e96a18545895;hpb=9fdc36bac5fa1c004751c0dd42f9ff62b9d60814;p=ardour.git diff --git a/gtk2_ardour/new_session_dialog.cc b/gtk2_ardour/new_session_dialog.cc index 88944aacb7..d1059cebe0 100644 --- a/gtk2_ardour/new_session_dialog.cc +++ b/gtk2_ardour/new_session_dialog.cc @@ -302,6 +302,11 @@ NewSessionDialog::NewSessionDialog() if (!path.empty()) { m_template->set_current_folder (path + X_("templates/")); } + + const std::string sys_templates_dir = ARDOUR::get_system_data_path() + X_("templates"); + if (Glib::file_test(sys_templates_dir, Glib::FILE_TEST_IS_DIR)) + m_template->add_shortcut_folder(sys_templates_dir); + m_template->set_title(_("select template")); Gtk::FileFilter* session_filter = manage (new (Gtk::FileFilter)); session_filter->add_pattern(X_("*.ardour"));