diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-13 16:50:15 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-13 16:50:15 +0000 |
commit | 5524e377a2668e75c1a50c02fcb4cd7a88701e8e (patch) | |
tree | dfff39f9a22e08aeb5b48a4ee0a0a12875daaf7e /gtk2_ardour/editor_actions.cc | |
parent | 30bc7d460732a970ea4b385b1b523d0a773a04f5 (diff) |
Add shortcut for link object/range mode. Fixes #3242.
git-svn-id: svn://localhost/ardour2/branches/3.0@7619 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index f1d20fbed7..8243f02356 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -654,6 +654,8 @@ Editor::register_actions () mouse_select_button.set_name ("MouseModeButton"); mouse_select_button.get_image ()->show (); + act = ActionManager::register_toggle_action (mouse_mode_actions, "set-mouse-mode-object-range", _("Link Object / Range Tools"), sigc::mem_fun (*this, &Editor::mouse_mode_object_range_toggled)); + act->connect_proxy (join_object_range_button); join_object_range_button.set_image (*(manage (new Image (::get_icon ("tool_object_range"))))); join_object_range_button.set_label (""); join_object_range_button.set_name ("MouseModeButton"); @@ -680,7 +682,7 @@ Editor::register_actions () mouse_audition_button.set_name ("MouseModeButton"); mouse_audition_button.get_image ()->show (); - act = ActionManager::register_radio_action (mouse_mode_actions, mouse_mode_group, "set-mouse-mode-timefx", _("Timefx Tool"), sigc::bind (sigc::mem_fun(*this, &Editor::mouse_mode_toggled), Editing::MouseTimeFX)); + act = ActionManager::register_radio_action (mouse_mode_actions, mouse_mode_group, "set-mouse-mode-timefx", _("Time FX Tool"), sigc::bind (sigc::mem_fun(*this, &Editor::mouse_mode_toggled), Editing::MouseTimeFX)); act->connect_proxy (mouse_timefx_button); mouse_timefx_button.set_image (*(manage (new Image (::get_icon("tool_stretch"))))); mouse_timefx_button.set_label (""); |