From e19e05fc5949a6e5326fc0a1b2e80014dff5f28c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 12 Dec 2014 13:26:17 -0500 Subject: [PATCH] hide a lot of color debugging noise --- gtk2_ardour/ui_config.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;