diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-27 01:07:53 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-27 01:07:53 +0200 |
commit | 49e5494907a8536442dbf808416096734bec453c (patch) | |
tree | a480f0f0d05ad187a7787692819ae2b866593db3 /libs/gtkmm2ext/utils.cc | |
parent | 54e01f4e48739590e25ea8448a5a80a1b95e8cec (diff) |
also hide persistent tooltips
debatable, since most of them are not "help/tool info" but rather
"current value display".
Then again tooltip is tooltip and can be annoying or not wanted.
Diffstat (limited to 'libs/gtkmm2ext/utils.cc')
-rw-r--r-- | libs/gtkmm2ext/utils.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/gtkmm2ext/utils.cc b/libs/gtkmm2ext/utils.cc index 2b0eb86a9c..7590ed2d78 100644 --- a/libs/gtkmm2ext/utils.cc +++ b/libs/gtkmm2ext/utils.cc @@ -33,6 +33,7 @@ #include <gtkmm/tooltip.h> #include "gtkmm2ext/utils.h" +#include "gtkmm2ext/persistent_tooltip.h" #include "i18n.h" @@ -836,12 +837,14 @@ void Gtkmm2ext::enable_tooltips () { gtk_rc_parse_string ("gtk-enable-tooltips = 1"); + PersistentTooltip::set_tooltips_enabled (true); } void Gtkmm2ext::disable_tooltips () { gtk_rc_parse_string ("gtk-enable-tooltips = 0"); + PersistentTooltip::set_tooltips_enabled (false); } bool |