summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-01 02:39:39 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-01 02:39:39 +0000
commit5173497c6d9b4bed0f64c1c3b4beab442a405849 (patch)
tree5024137358ba969171124058eb3e9b08b59e36d7
parentd3bd0279ae63bfe934cc1b83a66be663e04e81fc (diff)
Give group and meter point buttons controllable visibility.
git-svn-id: svn://localhost/ardour2/branches/3.0@10376 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--gtk2_ardour/mixer_strip.cc2
-rw-r--r--gtk2_ardour/rc_option_editor.cc2
-rw-r--r--libs/ardour/ardour/rc_configuration_vars.h2
3 files changed, 5 insertions, 1 deletions
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")