X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Ftemplate_utils.cc;h=f6b6c59fbce1967c74046c0677082a8802e937ea;hb=81bff2edee31ad64693d5be3c06558714ea92722;hp=5c6fd9c833e2fe4614b2138dad73cf7cd5eee470;hpb=1f6c54a2f053caa8afec70f2acffdb7f7d73f09f;p=ardour.git diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc index 5c6fd9c833..f6b6c59fbc 100644 --- a/libs/ardour/template_utils.cc +++ b/libs/ardour/template_utils.cc @@ -110,15 +110,15 @@ find_session_templates (vector& template_names, bool read_xml) XMLNode* root = tree.root(); - rti.created_with = _("(unknown)"); + rti.modified_with = _("(unknown)"); try { XMLNode *pv = root->child("ProgramVersion"); - string created_with; + string modified_with; if (pv != 0) { - pv->get_property (X_("created-with"), created_with); + pv->get_property (X_("modified-with"), modified_with); } - rti.created_with = created_with; - } catch ( LIBPBD_API::XMLException &e) {} + rti.modified_with = modified_with; + } catch (XMLException &e) {} rti.description = _("No Description"); try { @@ -126,7 +126,7 @@ find_session_templates (vector& template_names, bool read_xml) if (desc != 0) { rti.description = desc->attribute_value(); } - } catch ( LIBPBD_API::XMLException &e) {} + } catch (XMLException &e) {} } template_names.push_back (rti); @@ -158,15 +158,15 @@ find_route_templates (vector& template_names) TemplateInfo rti; - rti.created_with = _("(unknown)"); + rti.modified_with = _("(unknown)"); try { XMLNode *pv = root->child("ProgramVersion"); - string created_with; + string modified_with; if (pv != 0) { - pv->get_property (X_("created-with"), created_with); + pv->get_property (X_("modified-with"), modified_with); } - rti.created_with = created_with; - } catch ( LIBPBD_API::XMLException &e) {} + rti.modified_with = modified_with; + } catch (XMLException &e) {} rti.description = _("No Description"); try { @@ -174,7 +174,7 @@ find_route_templates (vector& template_names) if (desc != 0) { rti.description = desc->attribute_value(); } - } catch ( LIBPBD_API::XMLException &e) {} + } catch (XMLException &e) {} rti.name = IO::name_from_state (*root->children().front()); rti.path = fullpath;