From 17a2d70f1c9108ee39bd2e9d0450a636500e08a5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 23 Feb 2011 02:48:35 +0000 Subject: Make alignment options work across the track selection. Also remove code to update the options now that the menu is rebuilt every time it is shown. git-svn-id: svn://localhost/ardour2/branches/3.0@8941 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/route_time_axis.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gtk2_ardour/route_time_axis.h') diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h index bffa126a14..636da9f9c8 100644 --- a/gtk2_ardour/route_time_axis.h +++ b/gtk2_ardour/route_time_axis.h @@ -218,8 +218,7 @@ protected: virtual void append_extra_display_menu_items () {} void build_display_menu (); - void align_style_changed (); - void set_align_style (ARDOUR::AlignStyle); + void set_align_style (ARDOUR::AlignStyle, bool apply_to_selection = false); void playlist_click (); void show_playlist_selector (); @@ -261,8 +260,6 @@ protected: Gtk::Menu* automation_action_menu; Gtk::MenuItem* plugins_submenu_item; RouteGroupMenu* route_group_menu; - Gtk::RadioMenuItem* align_existing_item; - Gtk::RadioMenuItem* align_capture_item; Gtk::RadioMenuItem* normal_track_mode_item; Gtk::RadioMenuItem* non_layered_track_mode_item; Gtk::RadioMenuItem* destructive_track_mode_item; -- cgit v1.2.3