diff options
author | Carl Hetherington <carl@carlh.net> | 2011-09-14 20:39:03 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-09-14 20:39:03 +0000 |
commit | 315f41f82f1e5e5cf941e83895848a6372670935 (patch) | |
tree | 7d8f919229b4b523640f5a19b245d2817f54428e /gtk2_ardour/session_option_editor.cc | |
parent | 8f39701908660bbf2c7d2f2867ea83638daf33f0 (diff) |
Option to glue new markers to bars and beats (part of
#4202).
git-svn-id: svn://localhost/ardour2/branches/3.0@10087 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/session_option_editor.cc')
-rw-r--r-- | gtk2_ardour/session_option_editor.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/session_option_editor.cc b/gtk2_ardour/session_option_editor.cc index 73663ebe22..bd5f359297 100644 --- a/gtk2_ardour/session_option_editor.cc +++ b/gtk2_ardour/session_option_editor.cc @@ -293,6 +293,15 @@ SessionOptionEditor::SessionOptionEditor (Session* s) sigc::mem_fun (*_session_config, &SessionConfiguration::get_bwf_organization_code), sigc::mem_fun (*_session_config, &SessionConfiguration::set_bwf_organization_code) )); + + add_option (_("Misc"), new OptionEditorHeading (_("Glue to bars and beats"))); + + add_option (_("Misc"), new BoolOption ( + "glue-new-markers-to-bars-and-beats", + _("Glue new markers to bars and beats"), + sigc::mem_fun (*_session_config, &SessionConfiguration::get_glue_new_markers_to_bars_and_beats), + sigc::mem_fun (*_session_config, &SessionConfiguration::set_glue_new_markers_to_bars_and_beats) + )); } void |