diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-03 13:28:27 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-03 13:28:58 -0600 |
commit | 9ca9aa8ae16647e0d73e93bbb6425dc966feca9d (patch) | |
tree | 9ae5c3dea111318c5abf46aaecb858261c4107e7 /gtk2_ardour/editor_actions.cc | |
parent | 97d1ee9822289e383a784371abbc6d5786c39534 (diff) |
add new Editor method to toggle all existing automation
Applies to selected tracks if non-empty; all tracks otherwise
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index adb783ca54..1993568dd0 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -124,6 +124,7 @@ Editor::register_actions () ActionManager::register_action (editor_menu_actions, X_("AlignMenu"), _("Align")); ActionManager::register_action (editor_menu_actions, X_("Autoconnect"), _("Autoconnect")); + ActionManager::register_action (editor_menu_actions, X_("AutomationMenu"), _("Automation")); ActionManager::register_action (editor_menu_actions, X_("Crossfades"), _("Crossfades")); ActionManager::register_action (editor_menu_actions, X_("Edit"), _("Edit")); ActionManager::register_action (editor_menu_actions, X_("EditCursorMovementOptions"), _("Move Selected Marker")); @@ -255,6 +256,8 @@ Editor::register_actions () reg_sens (editor_actions, "select-next-stripable", _("Select Next Strip"), sigc::bind (sigc::mem_fun(*this, &Editor::select_next_stripable), false)); reg_sens (editor_actions, "select-prev-stripable", _("Select Previous Strip"), sigc::bind (sigc::mem_fun(*this, &Editor::select_prev_stripable), false)); + reg_sens (editor_actions, "toggle-all-existing-automation", _("Toggle All Existing Automation"), sigc::mem_fun (*this, &Editor::toggle_all_existing_automation)); + act = reg_sens (editor_actions, "track-record-enable-toggle", _("Toggle Record Enable"), sigc::mem_fun(*this, &Editor::toggle_record_enable)); ActionManager::track_selection_sensitive_actions.push_back (act); act = reg_sens (editor_actions, "track-solo-toggle", _("Toggle Solo"), sigc::mem_fun(*this, &Editor::toggle_solo)); |