ActionManager::get_action ("Transport", "ToggleFollowEdits")->set_sensitive (false);
}
- } else if (p == "always-play-range") {
+ } else if (p == "follow-edits") {
ActionManager::map_some_state ("Transport", "ToggleFollowEdits", &RCConfiguration::get_follow_edits);
if (current_mixer_strip) {
current_mixer_strip->hide_things ();
- current_mixer_strip->parameter_changed ("mixer-strip-visibility");
+ current_mixer_strip->parameter_changed ("mixer-element-visibility");
}
}
, meter_point_button (_("pre"))
, midi_input_enable_button (0)
, _comment_button (_("Comments"))
- , _visibility (X_("mixer-strip-visibility"))
+ , _visibility (X_("mixer-element-visibility"))
{
init ();
, meter_point_button (_("pre"))
, midi_input_enable_button (0)
, _comment_button (_("Comments"))
- , _visibility (X_("mixer-strip-visibility"))
+ , _visibility (X_("mixer-element-visibility"))
{
init ();
set_route (rt);
must be the same as those used in RCOptionEditor so that the configuration changes
are recognised when they occur.
*/
+ _visibility.add (&input_button, X_("Input"), _("Input"), false);
_visibility.add (&_invert_button_box, X_("PhaseInvert"), _("Phase Invert"), false);
_visibility.add (&rec_mon_table, X_("RecMon"), _("Record & Monitor"), false);
_visibility.add (&solo_iso_table, X_("SoloIsoLock"), _("Solo Iso / Lock"), false);
- _visibility.add (&group_button, X_("Group"), _("Group"), false);
- _visibility.add (&meter_point_button, X_("MeterPoint"), _("Meter Point"), false);
_visibility.add (&output_button, X_("Output"), _("Output"), false);
_visibility.add (&_comment_button, X_("Comments"), _("Comments"), false);
- parameter_changed (X_("mixer-strip-visibility"));
+ parameter_changed (X_("mixer-element-visibility"));
Config->ParameterChanged.connect (_config_connection, MISSING_INVALIDATOR, boost::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
_session->config.ParameterChanged.connect (_config_connection, MISSING_INVALIDATOR, boost::bind (&MixerStrip::parameter_changed, this, _1), gui_context());
group_button.show();
gpm.gain_automation_state_button.show();
- parameter_changed ("mixer-strip-visibility");
+ parameter_changed ("mixer-element-visibility");
show ();
}
* We fill it with the controls that are being managed, using the same names
* as those used with _mixer_strip_visibility in RCOptionEditor. Then
* this VisibilityGroup is configured by changes to the RC variable
- * mixer-strip-visibility, which happen when the user makes changes in
+ * mixer-element-visibility, which happen when the user makes changes in
* the RC option editor.
*/
VisibilityGroup _visibility;
ms = (*ri)[track_columns.strip];
ms->set_width_enum (ms->get_width_enum (), ms->width_owner());
/* Fix visibility of mixer strip stuff */
- ms->parameter_changed (X_("mixer-strip-visibility"));
+ ms->parameter_changed (X_("mixer-element-visibility"));
}
}
void
Mixer_UI::select_none ()
{
- for (list<MixerStrip *>::iterator i = strips.begin(); i != strips.end(); ++i) {
- (*i)->set_selected(false);
- }
-
+ _selection.clear_routes();
deselect_all_strip_processors();
}
RCOptionEditor::RCOptionEditor ()
: OptionEditor (Config, string_compose (_("%1 Preferences"), PROGRAM_NAME))
, _rc_config (Config)
- , _mixer_strip_visibility ("mixer-strip-visibility")
+ , _mixer_strip_visibility ("mixer-element-visibility")
{
/* MISC */
/* The names of these controls must be the same as those given in MixerStrip
for the actual widgets being controlled.
*/
+ _mixer_strip_visibility.add (0, X_("Input"), _("Input"));
_mixer_strip_visibility.add (0, X_("PhaseInvert"), _("Phase Invert"));
_mixer_strip_visibility.add (0, X_("RecMon"), _("Record & Monitor"));
_mixer_strip_visibility.add (0, X_("SoloIsoLock"), _("Solo Iso / Lock"));
- _mixer_strip_visibility.add (0, X_("Group"), _("Group"));
- _mixer_strip_visibility.add (0, X_("MeterPoint"), _("Meter Point"));
_mixer_strip_visibility.add (0, X_("Output"), _("Output"));
_mixer_strip_visibility.add (0, X_("Comments"), _("Comments"));
CONFIG_VARIABLE (bool, show_zoom_tools, "show-zoom-tools", true)
CONFIG_VARIABLE (bool, widget_prelight, "widget-prelight", true)
CONFIG_VARIABLE (bool, use_tooltips, "use-tooltips", true)
-CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-strip-visibility", "Input,PhaseInvert,RecMon,SoloIsoLock,Group,MeterPoint,Output,Comments")
+CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-element-visibility", "Input,PhaseInvert,RecMon,SoloIsoLock,Output,Comments")
CONFIG_VARIABLE (bool, allow_non_quarter_pulse, "allow-non-quarter-pulse", false)
CONFIG_VARIABLE (bool, show_region_gain, "show-region-gain", false)
CONFIG_VARIABLE (bool, show_name_highlight, "show-name-highlight", false)