Transpose should appear in the popup region context menu as well as the Regions menu
authorBen Loftis <ben@glw.com>
Tue, 18 Aug 2009 19:19:25 +0000 (19:19 +0000)
committerBen Loftis <ben@glw.com>
Tue, 18 Aug 2009 19:19:25 +0000 (19:19 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5545 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor.cc

index 55c1b1a7eba8318d3e75dfc3ef7917c4e43de2ef..1d3c329f4e816e731881b6252a45fb3c947150ae 100644 (file)
@@ -1902,6 +1902,8 @@ Editor::add_region_context_items (AudioStreamView* sv, boost::shared_ptr<Region>
                fooc.block (false);
        }
        
+       items.push_back (MenuElem (_("Transpose"), mem_fun(*this, &Editor::pitch_shift_regions)));
+
        if (!Profile->get_sae()) {
                items.push_back (CheckMenuElem (_("Opaque")));
                CheckMenuItem* region_opaque_item = static_cast<CheckMenuItem*>(&items.back());