From 1fd2c857e37b7e2f8daa3b6456192f75f6061419 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 30 Jul 2013 18:28:06 +0200 Subject: [PATCH] add name-tooltips to the meterbridge meters --- gtk2_ardour/meter_strip.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gtk2_ardour/meter_strip.cc b/gtk2_ardour/meter_strip.cc index db2f03c349..ccfe8226c0 100644 --- a/gtk2_ardour/meter_strip.cc +++ b/gtk2_ardour/meter_strip.cc @@ -168,6 +168,7 @@ MeterStrip::MeterStrip (Session* sess, boost::shared_ptr rt) name_label.set_size_request(18, 50); name_label.set_alignment(-1.0, .5); ARDOUR_UI::instance()->set_tip (name_label, _route->name()); + ARDOUR_UI::instance()->set_tip (*level_meter, _route->name()); namebx.set_size_request(18, 52); namebx.pack_start(name_label, true, false, 3); @@ -343,6 +344,9 @@ MeterStrip::strip_property_changed (const PropertyChange& what_changed) ENSURE_GUI_THREAD (*this, &MeterStrip::strip_name_changed, what_changed) name_label.set_text(_route->name()); ARDOUR_UI::instance()->set_tip (name_label, _route->name()); + if (level_meter) { + ARDOUR_UI::instance()->set_tip (*level_meter, _route->name()); + } } void