summaryrefslogtreecommitdiff
path: root/gtk2_ardour/monitor_section.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2020-01-12 17:22:39 -0600
committerBen Loftis <ben@harrisonconsoles.com>2020-01-12 18:13:47 -0600
commit30553a267551405712f3b2a3ef1f612630be6477 (patch)
treee33b8c133b294c5ba0aa35b4c0581864f936cdd6 /gtk2_ardour/monitor_section.cc
parent66e24f33332aba428f2009da6f09465eb5cf6a25 (diff)
Apply some missing widget names
Diffstat (limited to 'gtk2_ardour/monitor_section.cc')
-rw-r--r--gtk2_ardour/monitor_section.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/monitor_section.cc b/gtk2_ardour/monitor_section.cc
index 8c24afe568..bf726bfd74 100644
--- a/gtk2_ardour/monitor_section.cc
+++ b/gtk2_ardour/monitor_section.cc
@@ -209,6 +209,8 @@ MonitorSection::MonitorSection ()
set_tooltip (*solo_boost_control, _("Gain increase for soloed signals (0dB is normal)"));
solo_boost_display = new ArdourDisplay ();
+ set_tooltip (*solo_boost_display, _("Gain increase for soloed signals (0dB is normal)"));
+ solo_boost_display->set_name("monitor section button");
solo_boost_display->set_size_request (PX_SCALE(68), PX_SCALE(20));
solo_boost_display->add_controllable_preset(_("0 dB"), 0.0);
solo_boost_display->add_controllable_preset(_("3 dB"), 3.0);
@@ -225,7 +227,8 @@ MonitorSection::MonitorSection ()
set_tooltip (*solo_cut_control, _("Gain reduction non-soloed signals\nA value above -inf dB causes \"solo-in-front\""));
solo_cut_display = new ArdourDisplay ();
- solo_cut_display->set_name("monitor section dropdown"); // XXX
+ set_tooltip (*solo_cut_display, _("Gain reduction non-soloed signals\nA value above -inf dB causes \"solo-in-front\""));
+ solo_cut_display->set_name("monitor section button");
solo_cut_display->set_size_request (PX_SCALE(68), PX_SCALE(20));
solo_cut_display->add_controllable_preset(_("0 dB"), 0.0);
solo_cut_display->add_controllable_preset(_("-6 dB"), -6.0);
@@ -243,6 +246,8 @@ MonitorSection::MonitorSection ()
set_tooltip (*dim_control, _("Gain reduction to use when dimming monitor outputs"));
dim_display = new ArdourDisplay ();
+ set_tooltip (*dim_display, _("Gain reduction to use when dimming monitor outputs"));
+ dim_display->set_name ("monitor section button");
dim_display->set_size_request (PX_SCALE(68), PX_SCALE(20));
dim_display->add_controllable_preset(_("0 dB"), 0.0);
dim_display->add_controllable_preset(_("-3 dB"), -3.0);
@@ -288,6 +293,7 @@ MonitorSection::MonitorSection ()
gain_control->set_size_request (PX_SCALE(60), PX_SCALE(60));
gain_display = new ArdourDisplay ();
+ gain_display->set_name("monitor section button");
gain_display->set_size_request (PX_SCALE(68), PX_SCALE(20));
gain_display->add_controllable_preset(_("0 dB"), 0.0);
gain_display->add_controllable_preset(_("-3 dB"), -3.0);
@@ -301,7 +307,7 @@ MonitorSection::MonitorSection ()
output_button = new ArdourButton ();
output_button->set_text (_("Output"));
- output_button->set_name (X_("monitor section cut")); // XXX
+ output_button->set_name (X_("monitor section button"));
output_button->set_text_ellipsize (Pango::ELLIPSIZE_MIDDLE);
output_button->set_layout_ellipsize_width (PX_SCALE(128) * PANGO_SCALE);