mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
provide the ability to enable + disable tooltips
git-svn-id: svn://localhost/ardour2/branches/3.0@13505 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ff4ea9346b
commit
60f85cac42
5 changed files with 33 additions and 0 deletions
|
|
@ -23,6 +23,7 @@
|
|||
#include "pbd/file_utils.h"
|
||||
|
||||
#include "gtkmm2ext/tearoff.h"
|
||||
#include "gtkmm2ext/utils.h"
|
||||
|
||||
#include "ardour/filesystem_paths.h"
|
||||
#include "ardour/profile.h"
|
||||
|
|
@ -1489,6 +1490,15 @@ Editor::parameter_changed (std::string p)
|
|||
if (_routes) {
|
||||
_routes->reset_remote_control_ids ();
|
||||
}
|
||||
} else if (p == "use-tooltips") {
|
||||
|
||||
/* this doesn't really belong here but it has to go somewhere */
|
||||
|
||||
if (Config->get_use_tooltips()) {
|
||||
Gtkmm2ext::enable_tooltips ();
|
||||
} else {
|
||||
Gtkmm2ext::disable_tooltips ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue