diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2015-01-05 12:32:14 +0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-16 16:55:17 -0400 |
commit | 1d42ed077e555a83a93bac436547e7c378ee0c00 (patch) | |
tree | ae50cb81adaa7a6b321acd687c0d27c60f3da571 /gtk2_ardour/time_axis_view.cc | |
parent | 2031007a3a6a2c47ec6c4dd5270afd5dc7a53de4 (diff) |
Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index e7d43f4ae9..e251d67d9c 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -41,7 +41,6 @@ #include "ardour/profile.h" -#include "ardour_ui.h" #include "ardour_dialog.h" #include "gui_thread.h" #include "public_editor.h" @@ -55,6 +54,7 @@ #include "streamview.h" #include "editor_drag.h" #include "editor.h" +#include "tooltips.h" #include "ui_config.h" #include "i18n.h" @@ -147,7 +147,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie name_label.set_name ("TrackLabel"); name_label.set_alignment (0.0, 0.5); name_label.set_width_chars (12); - ARDOUR_UI::instance()->set_tip (name_label, _("Track/Bus name (double click to edit)")); + set_tooltip (name_label, _("Track/Bus name (double click to edit)")); Gtk::Entry* an_entry = new Gtkmm2ext::FocusEntry; an_entry->set_name ("EditorTrackNameDisplay"); |