#include <gtkmm/label.h>
#include <gtkmm/window.h>
+#include "gtkmm2ext/persistent_tooltip.h"
+
#include "pbd/compose.h"
#include "pbd/stacktrace.h"
{
stop_tooltip_timeout ();
- if (item) {
+ if (item && Gtkmm2ext::PersistentTooltip::tooltips_enabled ()) {
current_tooltip_item = item;
/* wait for the first idle that happens after this is
bool
GtkCanvas::really_start_tooltip_timeout ()
{
- /* an idle has occured since we entered a tooltip-bearing widget. Now
+ /* an idle has occurred since we entered a tooltip-bearing widget. Now
* wait 1 second and if the timeout isn't cancelled, show the tooltip.
*/