summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-12-12 13:26:17 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-12-12 15:27:32 -0500
commite19e05fc5949a6e5326fc0a1b2e80014dff5f28c (patch)
tree593bab75ecb01dd6852381d04e31f3b33d2424cb /gtk2_ardour/ui_config.cc
parentcb13fe578f90abbaa135a37642eb9f9822dada54 (diff)
hide a lot of color debugging noise
Diffstat (limited to 'gtk2_ardour/ui_config.cc')
-rw-r--r--gtk2_ardour/ui_config.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/ui_config.cc b/gtk2_ardour/ui_config.cc
index 22ac72d240..b09442a588 100644
--- a/gtk2_ardour/ui_config.cc
+++ b/gtk2_ardour/ui_config.cc
@@ -655,7 +655,12 @@ UIConfiguration::color (const std::string& name, bool* failed) const
}
}
- cerr << string_compose (_("Color %1 not found"), name) << endl;
+ if (!failed) {
+ /* only show this message if the caller wasn't interested in
+ the fail status.
+ */
+ cerr << string_compose (_("Color %1 not found"), name) << endl;
+ }
if (failed) {
*failed = true;