From eb6ae56fafa8cc1cf5309a33e40227a402ee608d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 23 Mar 2010 13:11:14 +0000 Subject: Fix track mode options to appear only once on audio tracks rather than twice. Fix event handling logic for these options. HIG-ify some menu items. git-svn-id: svn://localhost/ardour2/branches/3.0@6787 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/route_time_axis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 1a9909374f..763504e781 100644 --- a/gtk2_ardour/route_time_axis.h +++ b/gtk2_ardour/route_time_axis.h @@ -291,7 +291,6 @@ protected: Gtk::Menu* mode_menu; Gtk::Menu* color_mode_menu; - virtual Gtk::Menu* build_mode_menu() { return 0; } virtual Gtk::Menu* build_color_mode_menu() { return 0; } void use_playlist (Gtk::RadioMenuItem *item, boost::weak_ptr wpl); @@ -325,6 +324,8 @@ protected: UnderlayList _underlay_streams; typedef std::list UnderlayMirrorList; UnderlayMirrorList _underlay_mirrors; + + bool _ignore_track_mode_change; ///< true to ignore track mode change signals }; #endif /* __ardour_route_time_axis_h__ */ -- cgit v1.2.3