summaryrefslogtreecommitdiff
path: root/gtk2_ardour/color_theme_manager.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-21 19:39:13 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-21 19:39:13 -0400
commit68b6d0d796560ca9bd417a02bed3e9933c343e10 (patch)
tree1023927b86ca4d50ea63138f265115be780dafb5 /gtk2_ardour/color_theme_manager.cc
parent74f567b7891d80d59558aab5d92e765af7e0ffc2 (diff)
fix some more thinkos related to user color file management
Diffstat (limited to 'gtk2_ardour/color_theme_manager.cc')
-rw-r--r--gtk2_ardour/color_theme_manager.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/color_theme_manager.cc b/gtk2_ardour/color_theme_manager.cc
index 10eb9402e2..df0a0ddd4c 100644
--- a/gtk2_ardour/color_theme_manager.cc
+++ b/gtk2_ardour/color_theme_manager.cc
@@ -231,7 +231,9 @@ ColorThemeManager::reset_canvas_colors()
string cfile;
string basename;
- basename = UIConfiguration::instance().color_file_name (false, running_from_source_tree(), false);
+ /* look for a versioned user-owned color file, and try to rename it */
+
+ basename = UIConfiguration::instance().color_file_name (true, false, true);
if (find_file (ardour_config_search_path(), basename, cfile)) {
string backup = cfile + string (X_(".old"));