add step-mouse-mode action, bound to F1 for SAE bindings
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 17 Nov 2008 08:57:05 +0000 (08:57 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 17 Nov 2008 08:57:05 +0000 (08:57 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4188 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/SAE-de-keypad.bindings.in
gtk2_ardour/SAE-de-nokeypad.bindings.in
gtk2_ardour/SAE-us-keypad.bindings.in
gtk2_ardour/SAE-us-nokeypad.bindings.in
gtk2_ardour/ardour-sae.menus
gtk2_ardour/ardour.menus
gtk2_ardour/editor_actions.cc

index 50c519481bd695af771e3415c3552590c18e35cf..aadeffea3246b24d8eb4c475cf2c9861587b15fc 100644 (file)
 ; (gtk_accel_path "<Actions>/Editor/finish-range" "F2")
 ; (gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-end" "<%TERTIARY%>F2")
 ; (gtk_accel_path "<Actions>/Editor/brush-at-mouse" "F3")
+(gtk_accel_path "<Actions>/Editor/step-mouse-mode" "F1")
 (gtk_accel_path "<Actions>/Common/ToggleMaximalEditor" "F2")
 
 
index 044df5cd7d3f38d10dc7f734ce429585ba60f3f4..f0799b2be0137d71bc4b9bf76395c3bf92e69831 100644 (file)
 ; (gtk_accel_path "<Actions>/Editor/finish-range" "F2")
 ; (gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-end" "<%TERTIARY%>F2")
 ; (gtk_accel_path "<Actions>/Editor/brush-at-mouse" "F3")
+(gtk_accel_path "<Actions>/Editor/step-mouse-mode" "F1")
 (gtk_accel_path "<Actions>/Common/ToggleMaximalEditor" "F2")
 
 
index aced40f1af235e0e77152debaa133ec4b6604246..e4d98140fdbf61fff9db7ef99e80995b8fc365a0 100644 (file)
 ; (gtk_accel_path "<Actions>/Editor/finish-range" "F2")
 ; (gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-end" "<%TERTIARY%>F2")
 ; (gtk_accel_path "<Actions>/Editor/brush-at-mouse" "F3")
+(gtk_accel_path "<Actions>/Editor/step-mouse-mode" "F1")
 (gtk_accel_path "<Actions>/Common/ToggleMaximalEditor" "F2")
 
 
index 1ff0d0982c172edd29f4d38f0bc5c1a94d5329a0..a84ee2bf2010fa9b3c46c0495fc22cf5eabc7296 100644 (file)
 ; (gtk_accel_path "<Actions>/Editor/finish-range" "F2")
 ; (gtk_accel_path "<Actions>/Editor/edit-cursor-to-range-end" "<%TERTIARY%>F2")
 ; (gtk_accel_path "<Actions>/Editor/brush-at-mouse" "F3")
+(gtk_accel_path "<Actions>/Editor/step-mouse-mode" "F1")
 (gtk_accel_path "<Actions>/Common/ToggleMaximalEditor" "F2")
 
 
index cb2a4d6e560680a6fc8fc451533d88385996eeb4..23cf943876997cecfdeae3a4dea7996be5c25219 100644 (file)
                   <menuitem action='GotoStart'/>
                   <menuitem action='GotoEnd'/>
                   <separator/>
+                  <menuitem action='step-mouse-mode'/>
                   <menuitem action='set-mouse-mode-object'/>
                   <menuitem action='set-mouse-mode-zoom'/>
                   <menuitem action='set-mouse-mode-timefx'/>
index 0b696dd9fe3323d0058565df4fff46d1ad1b42b6..829ad903e47f649a936f41880d95d950be0d47b2 100644 (file)
                    <menuitem action='select-prev-route'/>
                   <menuitem action='brush-at-mouse'/>
                   <separator/>
+                  <menuitem action='step-mouse-mode'/>
                   <menuitem action='set-mouse-mode-object'/>
                   <menuitem action='set-mouse-mode-range'/>
                   <menuitem action='set-mouse-mode-gain'/>
index e1750f307abde7e716cec8b55ebb8d0d6d58701a..0312422e33a2626494d9afe25ab83ae162c153f7 100644 (file)
@@ -639,6 +639,8 @@ Editor::register_actions ()
        ActionManager::register_radio_action (mouse_mode_actions, mouse_mode_group, "set-mouse-mode-zoom", _("Zoom Tool"), bind (mem_fun(*this, &Editor::set_mouse_mode), Editing::MouseZoom, false));
        ActionManager::register_radio_action (mouse_mode_actions, mouse_mode_group, "set-mouse-mode-timefx", _("Timefx Tool"), bind (mem_fun(*this, &Editor::set_mouse_mode), Editing::MouseTimeFX, false));
 
+       ActionManager::register_action (editor_actions, "step-mouse-mode", _("Step Mouse Mode"), bind (mem_fun(*this, &Editor::step_mouse_mode), true));
+       
        RadioAction::Group edit_point_group;
        ActionManager::register_radio_action (editor_actions, edit_point_group, X_("edit-at-playhead"), _("Playhead"), (bind (mem_fun(*this, &Editor::edit_point_chosen), Editing::EditAtPlayhead)));
        ActionManager::register_radio_action (editor_actions, edit_point_group, X_("edit-at-mouse"), _("Mouse"), (bind (mem_fun(*this, &Editor::edit_point_chosen), Editing::EditAtPlayhead)));