summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_actions.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-04-03 20:57:04 +0000
committerCarl Hetherington <carl@carlh.net>2011-04-03 20:57:04 +0000
commit1ec69a3b7007278fbe1fe349494ccb1881b9c2cd (patch)
tree52bea50d8aed5567f384e54ffbb224f6be87ab67 /gtk2_ardour/editor_actions.cc
parent58f386961be8ee024dcd6bc637e06ec94a43bae4 (diff)
Fix Transport->Play->Play option name, and rename Play Selection to Play Selected Range (part of #3927).
git-svn-id: svn://localhost/ardour2/branches/3.0@9274 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r--gtk2_ardour/editor_actions.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc
index a8db2414c6..ffbec63494 100644
--- a/gtk2_ardour/editor_actions.cc
+++ b/gtk2_ardour/editor_actions.cc
@@ -264,6 +264,8 @@ Editor::register_actions ()
reg_sens (editor_actions, "set-loop-from-edit-range", _("Set Loop from Edit Range"), sigc::bind (sigc::mem_fun(*this, &Editor::set_loop_from_edit_range), false));
reg_sens (editor_actions, "set-punch-from-edit-range", _("Set Punch from Edit Range"), sigc::mem_fun(*this, &Editor::set_punch_from_edit_range));
+ /* this is a duplicated action so that the main menu can use a different label */
+ reg_sens (editor_actions, "main-menu-play-selected-regions", _("Play Selected Regions"), sigc::mem_fun (*this, &Editor::play_selected_region));
reg_sens (editor_actions, "play-from-edit-point", _("Play From Edit Point"), sigc::mem_fun(*this, &Editor::play_from_edit_point));
reg_sens (editor_actions, "play-from-edit-point-and-return", _("Play from Edit Point and Return"), sigc::mem_fun(*this, &Editor::play_from_edit_point_and_return));