From c21c9e666286529fbef0539402367b8787b9964b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 3 Feb 2012 18:31:10 +0000 Subject: 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 --- gtk2_ardour/editor_actions.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gtk2_ardour/editor_actions.cc') 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::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); -- cgit v1.2.3