X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmixer_actor.cc;h=d7a1149a4b29d6a5174522f97f3fee3119c8d344;hb=3f56abe099cd6978fbf2e1778debd74e771c95cd;hp=9922195abe42396ce814f840fb0011f14cad2211;hpb=105caf23daf5aed16c7ee8b904fcca2ddbd4f59f;p=ardour.git diff --git a/gtk2_ardour/mixer_actor.cc b/gtk2_ardour/mixer_actor.cc index 9922195abe..d7a1149a4b 100644 --- a/gtk2_ardour/mixer_actor.cc +++ b/gtk2_ardour/mixer_actor.cc @@ -23,9 +23,7 @@ #include -#include "pbd/filesystem.h" #include "pbd/file_utils.h" -#include "pbd/search_path.h" #include "pbd/error.h" #include "ardour/filesystem_paths.h" @@ -73,6 +71,9 @@ MixerActor::register_actions () myactions.register_action ("Mixer", "scroll-left", _("Scroll Mixer Window to the left"), sigc::mem_fun (*this, &MixerActor::scroll_left)); myactions.register_action ("Mixer", "scroll-right", _("Scroll Mixer Window to the left"), sigc::mem_fun (*this, &MixerActor::scroll_right)); + + myactions.register_action ("Mixer", "toggle-midi-input-active", _("Toggle MIDI Input Active for Mixer-Selected Tracks/Busses"), + sigc::bind (sigc::mem_fun (*this, &MixerActor::toggle_midi_input_active), false)); } void @@ -263,3 +264,4 @@ MixerActor::ab_plugins () } } } +