summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-11-14 23:23:53 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-11-14 23:23:53 +0000
commit60f85cac42cdad6603869ffe9c2da9a8dc9a6f61 (patch)
tree37d49c15ce56dfbb2ded9225dc7ecb9cae727384 /gtk2_ardour/rc_option_editor.cc
parentff4ea9346b69c70336fbdfa81cf235d526cbd9d6 (diff)
provide the ability to enable + disable tooltips
git-svn-id: svn://localhost/ardour2/branches/3.0@13505 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 978cea87cc..c52764d8fe 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -1707,6 +1707,14 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (*_rc_config, &RCConfiguration::set_widget_prelight)
));
+ add_option (S_("GUI"),
+ new BoolOption (
+ "use-tooltips",
+ _("Show tooltips if mouse hovers over a control"),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::get_use_tooltips),
+ sigc::mem_fun (*_rc_config, &RCConfiguration::set_use_tooltips)
+ ));
+
#ifndef GTKOSX
/* font scaling does nothing with GDK/Quartz */
add_option (S_("GUI"), new FontScalingOptions (_rc_config));