diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-22 14:03:44 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-22 14:03:44 +0000 |
commit | 495edc3ed9944e50ac1223e789c74781d4715e08 (patch) | |
tree | 6413a6647696e787cdd2f30c8ca43e737eefa7c7 /gtk2_ardour/ardour_ui_options.cc | |
parent | d7903af9c9e981555fd890cfd422b8d66c64408c (diff) |
new user option "New Plugins Active"; make only *new* plugins active when this is set, not any added plugins (eg. during session loading); option is true by default
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4233 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui_options.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc index 02dc077688..7cfef62449 100644 --- a/gtk2_ardour/ardour_ui_options.cc +++ b/gtk2_ardour/ardour_ui_options.cc @@ -470,6 +470,12 @@ ARDOUR_UI::toggle_editing_space() } void +ARDOUR_UI::toggle_new_plugins_active () +{ + ActionManager::toggle_config_state ("options", "NewPluginsActive", &Configuration::set_new_plugins_active, &Configuration::get_new_plugins_active); +} + +void ARDOUR_UI::toggle_StopPluginsWithTransport() { ActionManager::toggle_config_state ("options", "StopPluginsWithTransport", &Configuration::set_plugins_stop_with_transport, &Configuration::get_plugins_stop_with_transport); @@ -1125,6 +1131,8 @@ ARDOUR_UI::parameter_changed (const char* parameter_name) ActionManager::map_some_state ("Transport", "ToggleTimeMaster", &Configuration::get_jack_time_master); } else if (PARAM_IS ("plugins-stop-with-transport")) { ActionManager::map_some_state ("options", "StopPluginsWithTransport", &Configuration::get_plugins_stop_with_transport); + } else if (PARAM_IS ("new-plugins-active")) { + ActionManager::map_some_state ("options", "NewPluginsActive", &Configuration::get_new_plugins_active); } else if (PARAM_IS ("latched-record-enable")) { ActionManager::map_some_state ("options", "LatchedRecordEnable", &Configuration::get_latched_record_enable); } else if (PARAM_IS ("verify-remove-last-capture")) { |