diff options
author | Ben Loftis <ben@glw.com> | 2012-11-16 19:27:39 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2012-11-16 19:27:39 +0000 |
commit | 6b6ef35f3e46010a2f6fb84e0f6d251af6acb854 (patch) | |
tree | a8fe55228f2497db9d6e744941b0e2cf7da69663 /gtk2_ardour/editor.cc | |
parent | 0b2359098fc4a273cfe07a4608cd7a6d4c6ce8b7 (diff) |
new button look
git-svn-id: svn://localhost/ardour2/branches/3.0@13511 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index de5b0717ac..792da29170 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -2905,22 +2905,19 @@ Editor::setup_toolbar () RefPtr<Action> act; zoom_in_button.set_name ("zoom button"); - zoom_in_button.set_image (::get_icon ("zoom_in")); - zoom_in_button.set_tweaks (ArdourButton::ShowClick); + zoom_in_button.add (*(manage (new Image (::get_icon ("zoom_in"))))); act = ActionManager::get_action (X_("Editor"), X_("temporal-zoom-in")); - zoom_in_button.set_related_action (act); + act->connect_proxy (zoom_in_button); zoom_out_button.set_name ("zoom button"); - zoom_out_button.set_image (::get_icon ("zoom_out")); - zoom_out_button.set_tweaks (ArdourButton::ShowClick); + zoom_out_button.add (*(manage (new Image (::get_icon ("zoom_out"))))); act = ActionManager::get_action (X_("Editor"), X_("temporal-zoom-out")); - zoom_out_button.set_related_action (act); + act->connect_proxy (zoom_out_button); zoom_out_full_button.set_name ("zoom button"); - zoom_out_full_button.set_image (::get_icon ("zoom_full")); - zoom_out_full_button.set_tweaks (ArdourButton::ShowClick); + zoom_out_full_button.add (*(manage (new Image (::get_icon ("zoom_full"))))); act = ActionManager::get_action (X_("Editor"), X_("zoom-to-session")); - zoom_out_full_button.set_related_action (act); + act->connect_proxy (zoom_out_full_button); zoom_focus_selector.set_name ("ZoomFocusSelector"); set_popdown_strings (zoom_focus_selector, zoom_focus_strings); |