mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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.
This commit is contained in:
parent
2031007a3a
commit
1d42ed077e
25 changed files with 166 additions and 154 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue