From 542b1d96534e4da5baab5f06292fe7b50c471692 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 28 Nov 2011 18:45:28 +0000 Subject: [PATCH] Control-shift-click rather than just Shift-click to toggle mixer strip width. git-svn-id: svn://localhost/ardour2/branches/3.0@10831 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/mixer_strip.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 3e829074c8..0d40d6fadd 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -147,7 +147,7 @@ MixerStrip::init () string t = _("Click to toggle the width of this mixer strip."); if (_mixer_owned) { - t += string_compose (_("\n%1-click to toggle the width of all strips."), Keyboard::tertiary_modifier_name ()); + t += string_compose (_("\n%1-%2-click to toggle the width of all strips."), Keyboard::primary_modifier_name(), Keyboard::tertiary_modifier_name ()); } width_button.set_image (::get_icon("strip_width")); @@ -1517,7 +1517,7 @@ MixerStrip::width_button_pressed (GdkEventButton* ev) return false; } - if (Keyboard::modifier_state_contains (ev->state, Keyboard::ModifierMask (Keyboard::TertiaryModifier)) && _mixer_owned) { + if (Keyboard::modifier_state_contains (ev->state, Keyboard::ModifierMask (Keyboard::PrimaryModifier | Keyboard::TertiaryModifier)) && _mixer_owned) { switch (_width) { case Wide: _mixer.set_strip_width (Narrow);