projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5cc04c5
)
add control for buggy gradient option
author
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 28 May 2015 15:46:01 +0000
(11:46 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Thu, 28 May 2015 16:46:43 +0000
(12:46 -0400)
gtk2_ardour/rc_option_editor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/rc_option_editor.cc
b/gtk2_ardour/rc_option_editor.cc
index d9a71a783e9e82782cbe88396d2f847638291e30..9efd73ed288ebc17e895c59b2ad3509979a9e13f 100644
(file)
--- a/
gtk2_ardour/rc_option_editor.cc
+++ b/
gtk2_ardour/rc_option_editor.cc
@@
-2644,6
+2644,16
@@
RCOptionEditor::RCOptionEditor ()
/* INTERFACE */
/* INTERFACE */
+ BoolOption* bgo = new BoolOption (
+ "buggy-gradients",
+ _("Possibly improve slow graphical performance"),
+ sigc::mem_fun (*_ui_config, &UIConfiguration::get_buggy_gradients),
+ sigc::mem_fun (*_ui_config, &UIConfiguration::set_buggy_gradients)
+ );
+
+ Gtkmm2ext::UI::instance()->set_tip (bgo->tip_widget(), string_compose (_("This requires restarting %1 before having an effect"), PROGRAM_NAME));
+ add_option (S_("Preferences|GUI"), bgo);
+
add_option (S_("Preferences|GUI"),
new BoolOption (
"widget-prelight",
add_option (S_("Preferences|GUI"),
new BoolOption (
"widget-prelight",