summaryrefslogtreecommitdiff
path: root/gtk2_ardour/rc_option_editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/rc_option_editor.cc')
-rw-r--r--gtk2_ardour/rc_option_editor.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc
index 42a0277f8d..2e68a44dd8 100644
--- a/gtk2_ardour/rc_option_editor.cc
+++ b/gtk2_ardour/rc_option_editor.cc
@@ -2512,6 +2512,22 @@ RCOptionEditor::RCOptionEditor ()
sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_rubberbanding_snaps_to_grid)
));
+ add_option (_("Editor/Snap"),
+ new BoolOption (
+ "grid-follows-internal",
+ _("Grid switches to alternate selection for Internal Edit tools"),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_grid_follows_internal),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_grid_follows_internal)
+ ));
+
+ add_option (_("Editor/Snap"),
+ new BoolOption (
+ "rulers-follow-grid",
+ _("Rulers automatically change to follow the Grid mode selection"),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_rulers_follow_grid),
+ sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_rulers_follow_grid)
+ ));
+
add_option (_("Editor/Snap"), new OptionEditorHeading (_("When \"Snap\" is enabled, snap to:")));