summaryrefslogtreecommitdiff
path: root/gtk2_ardour/patch_change_widget.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2017-09-08 11:15:02 -0500
committerBen Loftis <ben@harrisonconsoles.com>2017-09-08 11:15:02 -0500
commit4459761f4d3f10b6c4d5c0debff69ce755907423 (patch)
treefb810833810f503e04dd35e3a22cad397f39a9f9 /gtk2_ardour/patch_change_widget.cc
parent1166538433a8bea1b7221eeb6f31db5731f103ce (diff)
Patch select: button theme-ing
Diffstat (limited to 'gtk2_ardour/patch_change_widget.cc')
-rw-r--r--gtk2_ardour/patch_change_widget.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/patch_change_widget.cc b/gtk2_ardour/patch_change_widget.cc
index 32ff85501d..521ad60313 100644
--- a/gtk2_ardour/patch_change_widget.cc
+++ b/gtk2_ardour/patch_change_widget.cc
@@ -249,10 +249,12 @@ PatchChangeWidget::refill_program_list ()
for (uint8_t pgm = 0; pgm < 128; ++pgm) {
if (!unset_notes.test (pgm)) {
+ _program_btn[pgm].set_name (X_("patch change button"));
continue;
}
std::string n = string_compose (_("Pgm-%1"), (int)(pgm +1));
_program_btn[pgm].set_text (n);
+ _program_btn[pgm].set_name (X_("patch change dim button"));
set_tooltip (_program_btn[pgm], n);
}