alter menu name for processor automation and hide extra separator in menu when not...
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 30 Mar 2013 13:23:12 +0000 (09:23 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 30 Mar 2013 13:23:12 +0000 (09:23 -0400)
gtk2_ardour/route_time_axis.cc

index 784203bf6f2aae16afa0d189e83d7a72225f94d1..8fb01370b7f4308c5a0383cd5f9a335b4c49e904 100644 (file)
@@ -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);;
        }
 }