summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour.menus.in
diff options
context:
space:
mode:
authorColin Fletcher <colin.m.fletcher@googlemail.com>2013-10-16 22:25:35 +0100
committerBen Loftis <ben@harrisonconsoles.com>2015-04-21 10:22:27 -0500
commit84f0dceefb2e4079e1f015a17e538f0cd795ba2e (patch)
treecfddf5f6e8c45b1bde5dd8a1884a893f7d71bac1 /gtk2_ardour/ardour.menus.in
parent17546f47b6927c21fe50ce5e784f2f4952d69473 (diff)
Port 'Cut time' code from Mixbus
Copy the 'Cut time' code from Mixbus, making a few obvious fixes to work in A3 (e.g. nframes_t => framepos_t / framecnt_t). Seems to work to move & remove markers, tempo & meter markers, and regions on selected tracks. Still TODO: - use existing A3 'Insert time' dialogue - make it respect 'No selection = all tracks' - rename the command to something like 'Remove time' or 'Delete time': 'Cut' sounds to me as if the removed range should end up on the clipboard ready to be pasted somewhere, which of course it doesn't.
Diffstat (limited to 'gtk2_ardour/ardour.menus.in')
-rw-r--r--gtk2_ardour/ardour.menus.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour.menus.in b/gtk2_ardour/ardour.menus.in
index 3364557000..35f83025c6 100644
--- a/gtk2_ardour/ardour.menus.in
+++ b/gtk2_ardour/ardour.menus.in
@@ -364,6 +364,7 @@
<menuitem action='track-mute-toggle'/>
<separator/>
<menuitem action='insert-time'/>
+ <menuitem action='cut-time'/>
<menuitem action="move-selected-tracks-up"/>
<menuitem action="move-selected-tracks-down"/>
<menu action='TrackHeightMenu'>