diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-11 16:01:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-03-11 16:01:06 +0000 |
commit | ddfc8d2185ec9cef7afe74091ea544ec286f13a8 (patch) | |
tree | 03cd195a2624e7389c2ed1e3f1fa40e43bf68345 /gtk2_ardour/ardour_ui.cc | |
parent | b6f309bb85307d36b6fa1eaea2e7178066cb3f38 (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/ardour_ui.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc index b9f00340db..72bc9948ee 100644 --- a/gtk2_ardour/ardour_ui.cc +++ b/gtk2_ardour/ardour_ui.cc @@ -975,6 +975,23 @@ void ARDOUR_UI::transport_goto_start () { if (session) { + session->goto_start(); + + + /* force displayed area in editor to start no matter + what "follow playhead" setting is. + */ + + if (editor) { + editor->reposition_x_origin (session->current_start_frame()); + } + } +} + +void +ARDOUR_UI::transport_goto_zero () +{ + if (session) { session->request_locate (0); |