summaryrefslogtreecommitdiff
path: root/gtk2_ardour/startup.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-02-17 14:06:42 +0000
committerCarl Hetherington <carl@carlh.net>2011-02-17 14:06:42 +0000
commit79f060adbd509d17863309ffcd390467b5965a9c (patch)
tree3bdce90506f343747cc90faf43fedbd1eb078dfa /gtk2_ardour/startup.cc
parenta3ae0b329e1c9dc4199af1e638931cfc3afb93f6 (diff)
Look for .ardour, not .template, when using an existing session as a template.
git-svn-id: svn://localhost/ardour2/branches/3.0@8881 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/startup.cc')
-rw-r--r--gtk2_ardour/startup.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/startup.cc b/gtk2_ardour/startup.cc
index f435bd8612..9b58143746 100644
--- a/gtk2_ardour/startup.cc
+++ b/gtk2_ardour/startup.cc
@@ -748,9 +748,9 @@ ArdourStartup::setup_new_session_page ()
use_session_as_template_button.show ();
session_template_chooser.show ();
- Gtk::FileFilter* template_filter = manage (new (Gtk::FileFilter));
- template_filter->add_pattern(X_("*.template"));
- session_template_chooser.set_filter (*template_filter);
+ Gtk::FileFilter* session_filter = manage (new (Gtk::FileFilter));
+ session_filter->add_pattern (X_("*.ardour"));
+ session_template_chooser.set_filter (*session_filter);
session_template_chooser.set_title (_("Select template"));
vbox3->pack_start (*hbox4b, false, false);