- Fixed templates install directory to <prefix>/share/ardour2
- Added system templates dir bookmark to NSD git-svn-id: svn://localhost/ardour2/trunk@603 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
cfca8da3d8
commit
952be81efe
@ -302,6 +302,7 @@ NewSessionDialog::NewSessionDialog()
|
||||
if (!path.empty()) {
|
||||
m_template->set_current_folder (path + X_("templates/"));
|
||||
}
|
||||
m_template->add_shortcut_folder(ARDOUR::get_system_data_path() + X_("templates"));
|
||||
m_template->set_title(_("select template"));
|
||||
Gtk::FileFilter* session_filter = manage (new (Gtk::FileFilter));
|
||||
session_filter->add_pattern(X_("*.ardour"));
|
||||
|
@ -13,5 +13,5 @@ for template in template_files:
|
||||
|
||||
Default(template_build)
|
||||
|
||||
env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour/templates'), template_build))
|
||||
env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour2/templates'), template_build))
|
||||
env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_build))
|
||||
|
Loading…
Reference in New Issue
Block a user