1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-08 08:01:19 +02:00

Merged Ext-Bar and Ext-Command menus.

The toggle to switch the extra menu(s) on or off still says 'menus' (plural).  Decided not to change it as the submenus count as 'menus'.  Also we may later add extra menus to the track drop down and in other places.
This commit is contained in:
James Crook 2017-12-08 10:51:46 +00:00
parent 161a869102
commit 1d05f14b07

View File

@ -1291,11 +1291,11 @@ void AudacityProject::CreateMenusAndCommands()
}
/////////////////////////////////////////////////////////////////////////////
// Ext-Bar Menu
// Ext-Menu
/////////////////////////////////////////////////////////////////////////////
// i18n-hint: Ext-Bar is a menu with extra commands from tool bars
c->BeginMenu(_("Ext-&Bar"));
// i18n-hint: Extra is a menu with extra commands
c->BeginMenu(_("E&xtra"));
//////////////////////////////////////////////////////////////////////////
@ -1458,16 +1458,9 @@ void AudacityProject::CreateMenusAndCommands()
c->EndSubMenu();
c->EndMenu();
/////////////////////////////////////////////////////////////////////////////
// Ext-Command Menu
/////////////////////////////////////////////////////////////////////////////
c->SetDefaultFlags(AlwaysEnabledFlag, AlwaysEnabledFlag);
// i18n-hint: Ext-Command is a menu with extra commands
c->BeginMenu(_("Ext-Co&mmand"));
c->AddSeparator();
c->AddGlobalCommand(wxT("PrevWindow"), _("Move backward thru active windows"), FN(PrevWindow), wxT("Alt+Shift+F6"));
c->AddGlobalCommand(wxT("NextWindow"), _("Move forward thru active windows"), FN(NextWindow), wxT("Alt+F6"));