summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_options.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-04-17 15:25:45 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-04-17 15:25:45 +0000
commitb235856e446accd279160a69cc8950e123c0c82f (patch)
treea81a85fc74801a813ff7d2fd4635a816c04a149d /gtk2_ardour/ardour_ui_options.cc
parent6962547e8da2f17ace5dc73906ef612ff737cfa3 (diff)
gcc 4.3 compile fixes; new name-new-marker-at-creation option; make ferret region splits undoable
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3261 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r--gtk2_ardour/ardour_ui_options.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc
index 7b91410e15..02dc077688 100644
--- a/gtk2_ardour/ardour_ui_options.cc
+++ b/gtk2_ardour/ardour_ui_options.cc
@@ -578,6 +578,12 @@ ARDOUR_UI::toggle_use_narrow_ms()
}
void
+ARDOUR_UI::toggle_NameNewMarkers()
+{
+ ActionManager::toggle_config_state ("options", "NameNewMarkers", &Configuration::set_name_new_markers, &Configuration::get_name_new_markers);
+}
+
+void
ARDOUR_UI::toggle_rubberbanding_snaps_to_grid ()
{
ActionManager::toggle_config_state ("options", "RubberbandingSnapsToGrid", &Configuration::set_rubberbanding_snaps_to_grid, &Configuration::get_rubberbanding_snaps_to_grid);