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/session_dialog.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/session_dialog.cc')
-rw-r--r-- | gtk2_ardour/session_dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/session_dialog.cc b/gtk2_ardour/session_dialog.cc index 911bf285c0..8e98de2868 100644 --- a/gtk2_ardour/session_dialog.cc +++ b/gtk2_ardour/session_dialog.cc @@ -51,6 +51,7 @@ #include "opts.h" #include "engine_dialog.h" #include "i18n.h" +#include "tooltips.h" #include "utils.h" using namespace std; @@ -360,7 +361,7 @@ SessionDialog::setup_initial_choice_box () Gtk::Button *updates_button = manage (new Gtk::Button (_("Check the website for more..."))); updates_button->signal_clicked().connect (mem_fun(*this, &SessionDialog::updates_button_clicked) ); - ARDOUR_UI::instance()->set_tip (*updates_button, _("Click to open the program website in your web browser")); + set_tooltip (*updates_button, _("Click to open the program website in your web browser")); info_box->pack_start (*updates_button, false, false); |