diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-30 09:23:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-03-30 09:23:12 -0400 |
commit | 0a05c08a1ae1b7ab4a9251bcd76734747a57585f (patch) | |
tree | 47f9afdfd3f554c460f1d0ceada0092c72f155db /gtk2_ardour | |
parent | c184d1fbe6bde9a85ca50e20cc3ae3fa8622f7e3 (diff) |
alter menu name for processor automation and hide extra separator in menu when not needed
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 784203bf6f..8fb01370b7 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -387,14 +387,13 @@ RouteTimeAxisView::build_automation_action_menu (bool for_selection) items.push_back (MenuElem (_("Hide All Automation"), sigc::bind (sigc::mem_fun (*this, &RouteTimeAxisView::hide_all_automation), for_selection))); - items.push_back (SeparatorElem ()); - /* Attach the plugin submenu. It may have previously been used elsewhere, so it was detached above */ if (!subplugin_menu.items().empty()) { - items.push_back (MenuElem (_("Plugins"), subplugin_menu)); + items.push_back (SeparatorElem ()); + items.push_back (MenuElem (_("Processor automation"), subplugin_menu)); items.back().set_sensitive (!for_selection || _editor.get_selection().tracks.size() == 1);; } } |