summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-02-21 00:16:36 +0000
committerCarl Hetherington <carl@carlh.net>2011-02-21 00:16:36 +0000
commit9ac5fdfefb56ed42fd6b0b3ec90e5ab87c7a0595 (patch)
treee775f43a3abdfbcdd1ea9cf62ba18ccd7a07f1f0 /gtk2_ardour/audio_time_axis.cc
parent279c9d8b4ccc70397ba709c7084133a83b5196fa (diff)
Don't show Crossfade-related menu items on busses.
git-svn-id: svn://localhost/ardour2/branches/3.0@8913 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index 560c2dc15f..33ad517952 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -179,9 +179,10 @@ AudioTimeAxisView::append_extra_display_menu_items ()
MenuList& items = display_menu->items();
// crossfade stuff
- if (!Profile->get_sae()) {
+ if (!Profile->get_sae() && is_track ()) {
items.push_back (MenuElem (_("Hide All Crossfades"), sigc::mem_fun(*this, &AudioTimeAxisView::hide_all_xfades)));
items.push_back (MenuElem (_("Show All Crossfades"), sigc::mem_fun(*this, &AudioTimeAxisView::show_all_xfades)));
+ items.push_back (SeparatorElem ());
}
}