diff options
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r-- | gtk2_ardour/location_ui.cc | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index 3a080191a4..0d61718a61 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -34,6 +34,7 @@ #include "prompter.h" #include "utils.h" #include "public_editor.h" +#include "tooltips.h" #include "ui_config.h" #include "i18n.h" @@ -315,20 +316,20 @@ LocationEditRow::set_location (Location *loc) show_cd_track_details (); } - ARDOUR_UI::instance()->set_tip (remove_button, _("Remove this range")); - ARDOUR_UI::instance()->set_tip (start_clock, _("Start time - middle click to locate here")); - ARDOUR_UI::instance()->set_tip (end_clock, _("End time - middle click to locate here")); - ARDOUR_UI::instance()->set_tip (length_clock, _("Length")); + set_tooltip (remove_button, _("Remove this range")); + set_tooltip (start_clock, _("Start time - middle click to locate here")); + set_tooltip (end_clock, _("End time - middle click to locate here")); + set_tooltip (length_clock, _("Length")); - ARDOUR_UI::instance()->set_tip (start_to_playhead_button, _("Set range start from playhead location")); - ARDOUR_UI::instance()->set_tip (end_to_playhead_button, _("Set range end from playhead location")); + set_tooltip (start_to_playhead_button, _("Set range start from playhead location")); + set_tooltip (end_to_playhead_button, _("Set range end from playhead location")); } else { - ARDOUR_UI::instance()->set_tip (remove_button, _("Remove this marker")); - ARDOUR_UI::instance()->set_tip (start_clock, _("Position - middle click to locate here")); + set_tooltip (remove_button, _("Remove this marker")); + set_tooltip (start_clock, _("Position - middle click to locate here")); - ARDOUR_UI::instance()->set_tip (start_to_playhead_button, _("Set marker time from playhead location")); + set_tooltip (start_to_playhead_button, _("Set marker time from playhead location")); end_clock.hide(); length_clock.hide(); |