projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix more cut-n-paste coding errors
[ardour.git]
/
libs
/
ardour
/
template_utils.cc
diff --git
a/libs/ardour/template_utils.cc
b/libs/ardour/template_utils.cc
index 5c6fd9c833e2fe4614b2138dad73cf7cd5eee470..f6b6c59fbce1967c74046c0677082a8802e937ea 100644
(file)
--- a/
libs/ardour/template_utils.cc
+++ b/
libs/ardour/template_utils.cc
@@
-110,15
+110,15
@@
find_session_templates (vector<TemplateInfo>& template_names, bool read_xml)
XMLNode* root = tree.root();
XMLNode* root = tree.root();
- rti.
creat
ed_with = _("(unknown)");
+ rti.
modifi
ed_with = _("(unknown)");
try {
XMLNode *pv = root->child("ProgramVersion");
try {
XMLNode *pv = root->child("ProgramVersion");
- string
creat
ed_with;
+ string
modifi
ed_with;
if (pv != 0) {
if (pv != 0) {
- pv->get_property (X_("
created-with"), creat
ed_with);
+ pv->get_property (X_("
modified-with"), modifi
ed_with);
}
}
- rti.
created_with = creat
ed_with;
- } catch (
LIBPBD_API::
XMLException &e) {}
+ rti.
modified_with = modifi
ed_with;
+ } catch (XMLException &e) {}
rti.description = _("No Description");
try {
rti.description = _("No Description");
try {
@@
-126,7
+126,7
@@
find_session_templates (vector<TemplateInfo>& template_names, bool read_xml)
if (desc != 0) {
rti.description = desc->attribute_value();
}
if (desc != 0) {
rti.description = desc->attribute_value();
}
- } catch (
LIBPBD_API::
XMLException &e) {}
+ } catch (XMLException &e) {}
}
template_names.push_back (rti);
}
template_names.push_back (rti);
@@
-158,15
+158,15
@@
find_route_templates (vector<TemplateInfo>& template_names)
TemplateInfo rti;
TemplateInfo rti;
- rti.
creat
ed_with = _("(unknown)");
+ rti.
modifi
ed_with = _("(unknown)");
try {
XMLNode *pv = root->child("ProgramVersion");
try {
XMLNode *pv = root->child("ProgramVersion");
- string
creat
ed_with;
+ string
modifi
ed_with;
if (pv != 0) {
if (pv != 0) {
- pv->get_property (X_("
created-with"), creat
ed_with);
+ pv->get_property (X_("
modified-with"), modifi
ed_with);
}
}
- rti.
created_with = creat
ed_with;
- } catch (
LIBPBD_API::
XMLException &e) {}
+ rti.
modified_with = modifi
ed_with;
+ } catch (XMLException &e) {}
rti.description = _("No Description");
try {
rti.description = _("No Description");
try {
@@
-174,7
+174,7
@@
find_route_templates (vector<TemplateInfo>& template_names)
if (desc != 0) {
rti.description = desc->attribute_value();
}
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;
rti.name = IO::name_from_state (*root->children().front());
rti.path = fullpath;