towards fixing optional tooltips
Editor::parameter_changed() is not called for UIConfig changes. "use-tooltips" was never triggered.
This commit is contained in:
parent
bc553b7d9d
commit
54e01f4e48
|
@ -394,6 +394,13 @@ ARDOUR_UI::parameter_changed (std::string p)
|
||||||
stop_clocking ();
|
stop_clocking ();
|
||||||
start_clocking ();
|
start_clocking ();
|
||||||
}
|
}
|
||||||
|
} else if (p == "use-tooltips") {
|
||||||
|
/* this doesn't really belong here but it has to go somewhere */
|
||||||
|
if (UIConfiguration::instance().get_use_tooltips()) {
|
||||||
|
Gtkmm2ext::enable_tooltips ();
|
||||||
|
} else {
|
||||||
|
Gtkmm2ext::disable_tooltips ();
|
||||||
|
}
|
||||||
} else if (p == "waveform-gradient-depth") {
|
} else if (p == "waveform-gradient-depth") {
|
||||||
ArdourCanvas::WaveView::set_global_gradient_depth (UIConfiguration::instance().get_waveform_gradient_depth());
|
ArdourCanvas::WaveView::set_global_gradient_depth (UIConfiguration::instance().get_waveform_gradient_depth());
|
||||||
} else if (p == "show-editor-meter") {
|
} else if (p == "show-editor-meter") {
|
||||||
|
|
|
@ -1719,15 +1719,6 @@ Editor::parameter_changed (std::string p)
|
||||||
if (_routes) {
|
if (_routes) {
|
||||||
_routes->reset_remote_control_ids ();
|
_routes->reset_remote_control_ids ();
|
||||||
}
|
}
|
||||||
} else if (p == "use-tooltips") {
|
|
||||||
|
|
||||||
/* this doesn't really belong here but it has to go somewhere */
|
|
||||||
|
|
||||||
if (UIConfiguration::instance().get_use_tooltips()) {
|
|
||||||
Gtkmm2ext::enable_tooltips ();
|
|
||||||
} else {
|
|
||||||
Gtkmm2ext::disable_tooltips ();
|
|
||||||
}
|
|
||||||
} else if (p == "skip-playback") {
|
} else if (p == "skip-playback") {
|
||||||
Glib::RefPtr<Action> act = ActionManager::get_action (X_("Editor"), X_("toggle-skip-playback"));
|
Glib::RefPtr<Action> act = ActionManager::get_action (X_("Editor"), X_("toggle-skip-playback"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user