summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-03-11 16:01:06 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-03-11 16:01:06 +0000
commitddfc8d2185ec9cef7afe74091ea544ec286f13a8 (patch)
tree03cd195a2624e7389c2ed1e3f1fa40e43bf68345 /gtk2_ardour/editor_ops.cc
parentb6f309bb85307d36b6fa1eaea2e7178066cb3f38 (diff)
start marker implemented, along with GotoZero command for old behaviour; R binding for global rec-enable now works (menu item added)
git-svn-id: svn://localhost/trunk/ardour2@376 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 1e79086804..ea24f3cae7 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -398,7 +398,7 @@ Editor::nudge_backward (bool next)
if (playhead_cursor->current_frame > distance) {
session->request_locate (playhead_cursor->current_frame - distance);
} else {
- session->request_locate (0);
+ session->goto_start();
}
}
}
@@ -464,7 +464,7 @@ Editor::nudge_backward_capture_offset ()
void
Editor::move_to_start ()
{
- session->request_locate (0);
+ session->goto_start ();
}
void
@@ -1528,7 +1528,7 @@ Editor::jump_backward_to_mark ()
if (location) {
session->request_locate (location->start(), session->transport_rolling());
} else {
- session->request_locate (0);
+ session->goto_start ();
}
}
@@ -1732,7 +1732,7 @@ Editor::toggle_playback (bool with_abort)
void
Editor::play_from_start ()
{
- session->request_locate (0, true);
+ session->request_locate (session->current_start_frame(), true);
}
void