diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-03 18:31:10 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-02-03 18:31:10 +0000 |
commit | c21c9e666286529fbef0539402367b8787b9964b (patch) | |
tree | 166ca40fec69c8fcf22e31ff452a3b69bfa8f394 /gtk2_ardour/editor_actions.cc | |
parent | ac268b1224af860e94a67bc957319da888952fd7 (diff) |
use button joiner for smart mode; polish up the visuals on the joiner a bit
git-svn-id: svn://localhost/ardour2/branches/3.0@11439 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, 1 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index d071377899..f50cd5e734 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -421,9 +421,7 @@ Editor::register_actions () mouse_draw_button.set_name ("mouse mode button"); 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)); - join_object_range_button.set_related_action (act); - join_object_range_button.set_image (::get_icon ("tool_object_range")); - join_object_range_button.set_name ("mouse mode button"); + smart_mode_action = Glib::RefPtr<ToggleAction>::cast_static (act); act = ActionManager::register_radio_action (mouse_mode_actions, mouse_mode_group, "set-mouse-mode-gain", _("Gain Tool"), sigc::bind (mem_fun(*this, &Editor::mouse_mode_toggled), Editing::MouseGain)); mouse_gain_button.set_related_action (act); |