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:
parent
161a869102
commit
1d05f14b07
@ -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
|
// i18n-hint: Extra is a menu with extra commands
|
||||||
c->BeginMenu(_("Ext-&Bar"));
|
c->BeginMenu(_("E&xtra"));
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@ -1458,16 +1458,9 @@ void AudacityProject::CreateMenusAndCommands()
|
|||||||
|
|
||||||
c->EndSubMenu();
|
c->EndSubMenu();
|
||||||
|
|
||||||
c->EndMenu();
|
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Ext-Command Menu
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
c->SetDefaultFlags(AlwaysEnabledFlag, AlwaysEnabledFlag);
|
c->SetDefaultFlags(AlwaysEnabledFlag, AlwaysEnabledFlag);
|
||||||
// i18n-hint: Ext-Command is a menu with extra commands
|
c->AddSeparator();
|
||||||
c->BeginMenu(_("Ext-Co&mmand"));
|
|
||||||
|
|
||||||
c->AddGlobalCommand(wxT("PrevWindow"), _("Move backward thru active windows"), FN(PrevWindow), wxT("Alt+Shift+F6"));
|
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"));
|
c->AddGlobalCommand(wxT("NextWindow"), _("Move forward thru active windows"), FN(NextWindow), wxT("Alt+F6"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user