Provide keyboard navigation for base windows menus

This commit is contained in:
Matt Colyer 2013-11-14 10:39:31 -08:00
parent cfab5c619d
commit 1dac1f375c

View File

@ -1,6 +1,6 @@
'menu': [
{
label: 'File'
label: '&File'
submenu: [
{ label: 'New Window', command: 'application:new-window' }
{ label: 'New File', command: 'application:new-file' }
@ -22,7 +22,7 @@
}
{
label: 'Edit'
label: '&Edit'
submenu: [
{ label: 'Undo', command: 'core:undo' }
{ label: 'Redo', command: 'core:redo' }
@ -83,7 +83,7 @@
}
{
label: 'View'
label: '&View'
submenu: [
{ label: 'Reload', command: 'window:reload' }
{ label: 'Toggle Full Screen', command: 'window:toggle-full-screen' }
@ -102,7 +102,7 @@
}
{
label: 'Selection'
label: '&Selection'
submenu: [
{ label: 'Add Selection Above', command: 'editor:add-selection-above' }
{ label: 'Add Selection Below', command: 'editor:add-selection-below' }
@ -121,7 +121,7 @@
}
{
label: 'Movement'
label: '&Movement'
submenu: [
{ label: 'Move to Top', command: 'core:move-to-top' }
{ label: 'Move to Bottom', command: 'core:move-to-bottom' }
@ -138,17 +138,17 @@
}
{
label: 'Find'
label: 'F&ind'
submenu: []
}
{
label: 'Packages'
label: '&Packages'
submenu: []
}
{
label: 'Window'
label: '&Window'
submenu: [
{ label: 'Minimize', command: 'application:minimize' }
{ label: 'Zoom', command: 'application:zoom' }
@ -158,7 +158,7 @@
}
{
label: 'Help'
label: '&Help'
submenu: [
{ label: 'About Atom', command: 'application:about' }
{ label: "VERSION", enabled: false }