Session templates are directories: use find_paths_matching_filter() rather
that find_files_matching_filter() to search for them. Fix a tiny comment
typo I spotted along the way too.
get_vbox()->show_all ();
- /* fill data models and how/hide accordingly */
+ /* fill data models and show/hide accordingly */
populate_session_templates ();
{
vector<string> templates;
- find_files_matching_filter (templates, template_search_path(), template_filter, 0, true, true);
+ find_paths_matching_filter (templates, template_search_path(), template_filter, 0, true, true);
if (templates.empty()) {
cerr << "Found nothing along " << template_search_path().to_string() << endl;