From 0a05c08a1ae1b7ab4a9251bcd76734747a57585f Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 30 Mar 2013 09:23:12 -0400 Subject: [PATCH] alter menu name for processor automation and hide extra separator in menu when not needed --- gtk2_ardour/route_time_axis.cc | 5 ++--- 1 file 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);; } }