Mailspring/menus/darwin.cson
Juan Tejada d324a33d4b feat(view-mode): Add option in menu to select view mode
Summary:
Also add minor refactoring
#1710

Test Plan: Manual

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2745
2016-03-15 11:20:55 -07:00

111 lines
4.2 KiB
Plaintext

'menu': [
{
label: 'Nylas N1'
submenu: [
{ label: 'About Nylas N1', command: 'application:about' }
{ type: 'separator' }
{ label: 'Preferences', command: 'application:open-preferences' }
{ label: 'Change Theme...', command: 'window:launch-theme-picker' }
{ label: 'Install Theme...', command: 'application:install-package' }
{ type: 'separator' }
{ label: 'Add Account...', command: 'application:add-account' }
{ label: 'VERSION', enabled: false }
{ label: 'Restart and Install Update', command: 'application:install-update', visible: false}
{ label: 'Check for Update', command: 'application:check-for-update', visible: false}
{ label: 'Downloading Update', enabled: false, visible: false}
{ type: 'separator' }
{ type: 'separator' }
{ label: 'Services', submenu: [] }
{ type: 'separator' }
{ label: 'Hide Nylas N1', command: 'application:hide' }
{ label: 'Hide Others', command: 'application:hide-other-applications' }
{ label: 'Show All', command: 'application:unhide-all-applications' }
{ type: 'separator' }
{ label: 'Quit', command: 'application:quit' }
]
}
{
label: 'File'
submenu: [
{ label: 'New Message', command: 'application:new-message' }
{ type: 'separator' }
{ label: 'Close Window', command: 'window:close' }
{ type: 'separator' }
{ label: 'Print Current Thread', command: 'application:print-thread' }
]
}
{
label: 'Edit'
submenu: [
{ label: 'Undo', command: 'core:undo' }
{ label: 'Redo', command: 'core:redo' }
{ type: 'separator' }
{ label: 'Cut', command: 'core:cut' }
{ label: 'Copy', command: 'core:copy' }
{ label: 'Paste', command: 'core:paste' }
{ label: 'Paste and Match Style', command: 'core:paste-and-match-style' }
{ label: 'Select All', command: 'core:select-all' }
{ type: 'separator' }
{ label: 'Find', submenu: [
{ label: 'Find in Thread...', command: 'application:find-in-thread' }
{ label: 'Find Next', command: 'application:find-in-thread-next' }
{ label: 'Find Previous', command: 'application:find-in-thread-previous' }
] }
]
}
{
label: 'View'
submenu: [
{ label: 'Single Panel Mode', type: 'checkbox', command: 'application:select-list-mode' }
{ label: 'Two Panel Mode', type: 'checkbox', command: 'application:select-split-mode' }
{ type: 'separator' }
{ label: 'Enter Full Screen', command: 'window:toggle-full-screen' }
{ label: 'Exit Full Screen', command: 'window:toggle-full-screen', visible: false }
]
}
{
label: 'Developer'
submenu: [
{ label: 'Run with Debug Flags', type: 'checkbox', command: 'application:toggle-dev' }
{ type: 'separator' }
{ label: 'Reload', command: 'window:reload' }
{ label: 'Toggle Developer Tools', command: 'window:toggle-dev-tools' }
{ label: 'Toggle Component Regions', command: 'window:toggle-component-regions' }
{ label: 'Toggle React Remote', command: 'window:toggle-react-remote' }
{ label: 'Toggle Screenshot Mode', command: 'window:toggle-screenshot-mode' }
{ type: 'separator' }
{ label: 'Open Activity Window', command: 'application:show-work-window' }
{ type: 'separator' }
{ label: 'Create a Plugin...', command: 'application:create-package' }
{ label: 'Install a Plugin...', command: 'application:install-package' }
{ type: 'separator' }
{ label: 'Run Plugin Specs...', command: 'application:run-package-specs' }
{ label: 'Run N1 Specs', command: 'application:run-all-specs' }
{ type: 'separator' }
{ label: 'Open Detailed Logs', command: 'window:open-errorlogger-logs' }
]
}
{
label: 'Window'
submenu: [
{ label: 'Minimize', command: 'application:minimize' }
{ label: 'Zoom', command: 'application:zoom' }
{ type: 'separator' }
{ type: 'separator' }
{ label: 'Bring All to Front', command: 'application:bring-all-windows-to-front' }
]
}
{
label: 'Help'
submenu: [
{ label: 'Nylas N1 Help', command: 'application:view-help' }
]
}
]
'context-menu': [
]