#include <boost/foreach.hpp>
-#include "pbd/filesystem.h"
#include "pbd/file_utils.h"
-#include "pbd/search_path.h"
#include "pbd/error.h"
#include "ardour/filesystem_paths.h"
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
bindings.set_action_map (myactions);
- sys::path binding_file;
+ std::string binding_file;
if (find_file_in_search_path (ardour_config_search_path(), "mixer.bindings", binding_file)) {
- bindings.load (binding_file.to_string());
- info << string_compose (_("Loaded mixer bindings from %1"), binding_file.to_string()) << endmsg;
+ bindings.load (binding_file);
+ info << string_compose (_("Loaded mixer bindings from %1"), binding_file) << endmsg;
} else {
error << string_compose (_("Could not find mixer.bindings in search path %1"), ardour_config_search_path().to_string()) << endmsg;
}
}
}
}
+