diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-30 05:23:30 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-11-30 05:23:30 +0000 |
commit | ff519d31b43251d0e5cea6c992a6dbc6dd0b90ba (patch) | |
tree | 6d122c58197c90dcd991bd631234548ec264fc08 /gtk2_ardour/editor.cc | |
parent | 8dc368badd835faf08c86c8a377c4df2a9d4f596 (diff) |
new shuffle-splice mode; fix editormode selectors lacking text at startup; default smpte format in ardour.rc.in; turn off cd marker visibility by default in ardour.rc.in; replace another instance of "Audio Frames" with "Samples"
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2729 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index 5dfcff248e..8c5c2cc4c9 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -246,14 +246,6 @@ Editor::Editor () zoom_focus_strings = I18N (_zoom_focus_strings); edit_point_strings = I18N (_edit_point_strings); - snap_type = SnapToBeat; - set_snap_to (snap_type); - snap_mode = SnapOff; - set_snap_mode (snap_mode); - - _edit_point = EditAtMouse; - set_edit_point_preference (_edit_point); - snap_threshold = 5.0; bbt_beat_subdivision = 4; canvas_width = 0; @@ -379,6 +371,13 @@ Editor::Editor () build_cursors (); setup_toolbar (); + snap_type = SnapToBeat; + set_snap_to (snap_type); + snap_mode = SnapOff; + set_snap_mode (snap_mode); + _edit_point = EditAtMouse; + set_edit_point_preference (_edit_point); + edit_point_clock.ValueChanged.connect (mem_fun(*this, &Editor::edit_point_clock_changed)); time_canvas_vbox.pack_start (*_ruler_separator, false, false); |