diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-18 11:50:21 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-18 11:50:38 -0400 |
commit | 56c4b3c9b05ec22a89ba594061ba4ec4cb7c5da1 (patch) | |
tree | a71554f0096297cfc1e726dd115877e50de3c6ea /gtk2_ardour/wscript | |
parent | 8c944c08eacf8372fc714c9c00257ec13a263ae8 (diff) |
turn back towards color theme files ALWAYS including the program name. also load both default and user colors (if present)
Diffstat (limited to 'gtk2_ardour/wscript')
-rw-r--r-- | gtk2_ardour/wscript | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk2_ardour/wscript b/gtk2_ardour/wscript index 4597ecefb2..398bd57248 100644 --- a/gtk2_ardour/wscript +++ b/gtk2_ardour/wscript @@ -817,11 +817,9 @@ def build(bld): # Default UI configuration bld.install_files(bld.env['CONFDIR'], 'default_ui_config') - # Color Themes. Find each color file for this program, strip the program name - # and install. - for color_file in bld.path.ant_glob ('themes/*-' + Options.options.program_name.lower() + '.colors'): - shortname = os.path.basename (color_file.srcpath().replace ("-" + Options.options.program_name.lower(), "")) - bld.install_as (os.path.join(bld.env['DATADIR'], 'themes', shortname), color_file) + # Color Themes. Find each color file for this program only + # and install + bld.install_files (os.path.join(bld.env['DATADIR'], 'themes'), bld.path.ant_glob ('themes/*-' + Options.options.program_name.lower() + '.colors')); # Default export stuff bld.install_files(os.path.join(bld.env['CONFDIR'], 'export'), bld.path.ant_glob('export/*.format')) |