summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-03-23 13:11:14 +0000
committerCarl Hetherington <carl@carlh.net>2010-03-23 13:11:14 +0000
commiteb6ae56fafa8cc1cf5309a33e40227a402ee608d (patch)
treeb66006ddd67b31ac30efcb2aee473bbed7ec542b /gtk2_ardour/route_time_axis.h
parentb5c21e65fc236ea75bc00961941d80ea42c0fa61 (diff)
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
Diffstat (limited to 'gtk2_ardour/route_time_axis.h')
-rw-r--r--gtk2_ardour/route_time_axis.h3
1 files changed, 2 insertions, 1 deletions
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<ARDOUR::Playlist> wpl);
@@ -325,6 +324,8 @@ protected:
UnderlayList _underlay_streams;
typedef std::list<RouteTimeAxisView*> UnderlayMirrorList;
UnderlayMirrorList _underlay_mirrors;
+
+ bool _ignore_track_mode_change; ///< true to ignore track mode change signals
};
#endif /* __ardour_route_time_axis_h__ */