summaryrefslogtreecommitdiff
path: root/gtk2_ardour/stripable_colorpicker.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-03-11 00:52:17 +0100
committerRobin Gareus <robin@gareus.org>2017-03-11 00:52:17 +0100
commitd0fc7d37ab74cc90ed42d021864c4f3ee4cc7088 (patch)
treea44951d9e2268db2b7257c0b937e787c3c9e0f20 /gtk2_ardour/stripable_colorpicker.cc
parent0b966460a5d5abd2284d1b159e49922e22d8c5be (diff)
Show Stripable name in color-picker dialog.
Diffstat (limited to 'gtk2_ardour/stripable_colorpicker.cc')
-rw-r--r--gtk2_ardour/stripable_colorpicker.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/stripable_colorpicker.cc b/gtk2_ardour/stripable_colorpicker.cc
index 6b92a94dc6..6f89e615f3 100644
--- a/gtk2_ardour/stripable_colorpicker.cc
+++ b/gtk2_ardour/stripable_colorpicker.cc
@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
+#include "pbd/compose.h"
+#include "pbd/i18n.h"
+
#include "stripable_colorpicker.h"
#include "utils.h"
@@ -49,6 +52,7 @@ StripableColorDialog::popup (boost::shared_ptr<ARDOUR::Stripable> s)
}
_stripable = s;
+ set_title (string_compose (_("Color Selection: %1"), s->name()));
get_colorsel()->set_has_opacity_control (false);
get_colorsel()->set_has_palette (true);