+ ActionManager::map_some_state ("options", "SendMTC", &RCConfiguration::get_send_mtc);
+
+ } else if (p == "send-mmc") {
+
+ ActionManager::map_some_state ("options", "SendMMC", &RCConfiguration::get_send_mmc);
+
+ } else if (p == "use-osc") {
+
+#ifdef HAVE_LIBLO
+ if (Config->get_use_osc()) {
+ osc->start ();
+ } else {
+ osc->stop ();
+ }
+#endif
+
+ } else if (p == "keep-tearoffs") {
+ ActionManager::map_some_state ("Common", "KeepTearoffs", &RCConfiguration::get_keep_tearoffs);
+ } else if (p == "mmc-control") {
+ ActionManager::map_some_state ("options", "UseMMC", &RCConfiguration::get_mmc_control);
+ } else if (p == "midi-feedback") {
+ ActionManager::map_some_state ("options", "SendMIDIfeedback", &RCConfiguration::get_midi_feedback);
+ } else if (p == "auto-play") {
+ ActionManager::map_some_state ("Transport", "ToggleAutoPlay", sigc::mem_fun (_session->config, &SessionConfiguration::get_auto_play));
+ } else if (p == "auto-return") {
+ ActionManager::map_some_state ("Transport", "ToggleAutoReturn", sigc::mem_fun (_session->config, &SessionConfiguration::get_auto_return));
+ } else if (p == "auto-input") {
+ ActionManager::map_some_state ("Transport", "ToggleAutoInput", sigc::mem_fun (_session->config, &SessionConfiguration::get_auto_input));
+ } else if (p == "punch-out") {
+ ActionManager::map_some_state ("Transport", "TogglePunchOut", sigc::mem_fun (_session->config, &SessionConfiguration::get_punch_out));
+ if (!_session->config.get_punch_out()) {
+ unset_dual_punch ();
+ }
+ } else if (p == "punch-in") {
+ ActionManager::map_some_state ("Transport", "TogglePunchIn", sigc::mem_fun (_session->config, &SessionConfiguration::get_punch_in));
+ if (!_session->config.get_punch_in()) {
+ unset_dual_punch ();
+ }
+ } else if (p == "clicking") {
+ ActionManager::map_some_state ("Transport", "ToggleClick", &RCConfiguration::get_clicking);
+ } else if (p == "use-video-sync") {
+ ActionManager::map_some_state ("Transport", "ToggleVideoSync", sigc::mem_fun (_session->config, &SessionConfiguration::get_use_video_sync));
+ } else if (p == "video-pullup" || p == "timecode-format") {
+
+ synchronize_sync_source_and_video_pullup ();
+ reset_main_clocks ();
+
+ } else if (p == "sync-source") {
+
+ synchronize_sync_source_and_video_pullup ();
+
+ } else if (p == "show-track-meters") {
+ editor->toggle_meter_updating();
+ } else if (p == "primary-clock-delta-edit-cursor") {
+ if (Config->get_primary_clock_delta_edit_cursor()) {
+ primary_clock->set_is_duration (true);
+ primary_clock->set_editable (false);
+ primary_clock->set_widget_name ("transport delta");
+ } else {
+ primary_clock->set_is_duration (false);
+ primary_clock->set_editable (true);
+ primary_clock->set_widget_name ("transport");
+ }
+ } else if (p == "secondary-clock-delta-edit-cursor") {
+ if (Config->get_secondary_clock_delta_edit_cursor()) {
+ secondary_clock->set_is_duration (true);
+ secondary_clock->set_editable (false);
+ secondary_clock->set_widget_name ("secondary delta");
+ } else {
+ secondary_clock->set_is_duration (false);
+ secondary_clock->set_editable (true);
+ secondary_clock->set_widget_name ("secondary");