diff options
author | Carl Hetherington <carl@carlh.net> | 2011-04-06 02:04:37 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-04-06 02:04:37 +0000 |
commit | e8c8befb87ee0891d6a3bbda5871abb506fb45b9 (patch) | |
tree | d86c2c91a788f1f8b376c6d19714b1542500beeb /gtk2_ardour/editor_actions.cc | |
parent | ebb31e504b56ec71452e2eda4f9314fd255e77c1 (diff) |
Differentiate between pitch-shift (for audio) and transpose (for MIDI). Fixes #3940.
git-svn-id: svn://localhost/ardour2/branches/3.0@9299 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index 0c10267b71..7f3d6db148 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -1250,8 +1250,11 @@ Editor::register_region_actions () /* Cut selected region gain */ reg_sens (_region_actions, "cut-region-gain", _("Cut Gain"), sigc::bind (sigc::mem_fun(*this, &Editor::adjust_region_gain), false)); - /* Open the pitch shift dialogue for the selected regions */ - reg_sens (_region_actions, "pitch-shift-region", _("Pitch Shift"), sigc::mem_fun (*this, &Editor::pitch_shift_region)); + /* Open the pitch shift dialogue for any selected audio regions */ + reg_sens (_region_actions, "pitch-shift-region", _("Pitch Shift..."), sigc::mem_fun (*this, &Editor::pitch_shift_region)); + + /* Open the transpose dialogue for any selected MIDI regions */ + reg_sens (_region_actions, "transpose-region", _("Transpose..."), sigc::mem_fun (*this, &Editor::transpose_region)); /* Toggle selected region opacity */ toggle_reg_sens (_region_actions, "toggle-opaque-region", _("Opaque"), sigc::mem_fun (*this, &Editor::toggle_opaque_region)); |