summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-02-20 14:37:34 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-02-20 14:37:34 +0000
commit05e194cbe01bfcd38a9cb2fc5a27aeda15a3f82f (patch)
treef2bad8bfd31e0eb968fca74c4b463ee2276f61ec /gtk2_ardour/route_ui.cc
parent65fd0a09b17bc153598932557b357fbb99583554 (diff)
fix up indentation caused by lack of .emacs
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4646 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r--gtk2_ardour/route_ui.cc60
1 files changed, 30 insertions, 30 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc
index bb0f40ddd6..c45aed5c6c 100644
--- a/gtk2_ardour/route_ui.cc
+++ b/gtk2_ardour/route_ui.cc
@@ -1175,35 +1175,35 @@ RouteUI::map_frozen ()
void
RouteUI::save_as_template ()
{
- Glib::ustring path;
- Glib::ustring safe_name;
- std::string name;
-
- path = Session::route_template_dir();
-
- if (g_mkdir_with_parents (path.c_str(), 0755)) {
- error << string_compose (_("Cannot create route template directory %1"), path) << endmsg;
- return;
- }
-
- Prompter p (true); // modal
-
- p.set_prompt (_("Template name:"));
- switch (p.run()) {
- case RESPONSE_ACCEPT:
- break;
- default:
- return;
- }
-
- p.hide ();
- p.get_result (name, true);
-
- safe_name = legalize_for_path (name);
- safe_name += Session::template_suffix ();
-
- path = Glib::build_filename (path, safe_name);
-
- _route->save_as_template (path, name);
+ Glib::ustring path;
+ Glib::ustring safe_name;
+ std::string name;
+
+ path = Session::route_template_dir();
+
+ if (g_mkdir_with_parents (path.c_str(), 0755)) {
+ error << string_compose (_("Cannot create route template directory %1"), path) << endmsg;
+ return;
+ }
+
+ Prompter p (true); // modal
+
+ p.set_prompt (_("Template name:"));
+ switch (p.run()) {
+ case RESPONSE_ACCEPT:
+ break;
+ default:
+ return;
+ }
+
+ p.hide ();
+ p.get_result (name, true);
+
+ safe_name = legalize_for_path (name);
+ safe_name += Session::template_suffix ();
+
+ path = Glib::build_filename (path, safe_name);
+
+ _route->save_as_template (path, name);
}