From 5173497c6d9b4bed0f64c1c3b4beab442a405849 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 1 Nov 2011 02:39:39 +0000 Subject: [PATCH] Give group and meter point buttons controllable visibility. git-svn-id: svn://localhost/ardour2/branches/3.0@10376 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_strip.cc | 2 ++ gtk2_ardour/rc_option_editor.cc | 2 ++ libs/ardour/ardour/rc_configuration_vars.h | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 32aeb5abec..255fbfb4a2 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -354,6 +354,8 @@ MixerStrip::init () _visibility.add (solo_safe_led, X_("SoloSafe"), _("Solo Safe")); _visibility.add (solo_isolated_led, X_("SoloIsolated"), _("Solo Isolated")); _visibility.add (&_comment_button, X_("Comments"), _("Comments")); + _visibility.add (&group_button, X_("Group"), _("Group")); + _visibility.add (&meter_point_button, X_("MeterPoint"), _("Meter Point")); parameter_changed (X_("mixer-strip-visibility")); diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index dffe6b3c8a..5ee94a6450 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -1529,6 +1529,8 @@ RCOptionEditor::RCOptionEditor () _mixer_strip_visibility.add (0, X_("SoloSafe"), _("Solo Safe")); _mixer_strip_visibility.add (0, X_("SoloIsolated"), _("Solo Isolated")); _mixer_strip_visibility.add (0, X_("Comments"), _("Comments")); + _mixer_strip_visibility.add (0, X_("Group"), _("Group")); + _mixer_strip_visibility.add (0, X_("MeterPoint"), _("Meter Point")); add_option ( _("Interface"), diff --git a/libs/ardour/ardour/rc_configuration_vars.h b/libs/ardour/ardour/rc_configuration_vars.h index 71a6cec31f..513722a319 100644 --- a/libs/ardour/ardour/rc_configuration_vars.h +++ b/libs/ardour/ardour/rc_configuration_vars.h @@ -176,4 +176,4 @@ CONFIG_VARIABLE (DenormalModel, denormal_model, "denormal-model", DenormalNone) /* visibility of various things */ CONFIG_VARIABLE (bool, show_zoom_tools, "show-zoom-tools", true) -CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-strip-visibility", "PhaseInvert,SoloSafe,SoloIsolated") +CONFIG_VARIABLE (std::string, mixer_strip_visibility, "mixer-strip-visibility", "PhaseInvert,SoloSafe,SoloIsolated,Group,MeterPoint")