mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
bdfd96fed2
Summary: - Adds button inside the message list to print the thread - Adds cmdctrl-p binding to print thread - Adds new action and new internal_package to listen to this action. - Creates a standalone browser window with current thread html, and removes all collapsed messsages from the print view Test Plan: - Manual Reviewers: evan, bengotow Reviewed By: bengotow Differential Revision: https://phab.nylas.com/D2310
70 lines
2.4 KiB
Text
70 lines
2.4 KiB
Text
'menu': [
|
|
{
|
|
label: '&File'
|
|
submenu: [
|
|
{ label: '&New Message', command: 'application:new-message' }
|
|
{ type: 'separator' }
|
|
{ label: 'Add Account...', command: 'application:add-account' }
|
|
{ label: 'Clos&e Window', command: 'window:close' }
|
|
{ type: 'separator' }
|
|
{ label: 'Print Current Thread', command: 'application:print-thread' }
|
|
{ type: 'separator' }
|
|
{ label: 'Quit', command: 'application:quit' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: '&Edit'
|
|
submenu: [
|
|
{ label: '&Undo', command: 'core:undo' }
|
|
{ label: '&Redo', command: 'core:redo' }
|
|
{ type: 'separator' }
|
|
{ label: '&Cut', command: 'core:cut' }
|
|
{ label: 'C&opy', command: 'core:copy' }
|
|
{ label: '&Paste', command: 'core:paste' }
|
|
{ label: 'Select &All', command: 'core:select-all' }
|
|
{ type: 'separator' }
|
|
{ label: 'Preferences', command: 'application:open-preferences' }
|
|
]
|
|
}
|
|
|
|
{
|
|
label: '&View'
|
|
submenu: [
|
|
{ label: 'Toggle &Full Screen', command: 'window:toggle-full-screen' }
|
|
{ label: 'Toggle Menu Bar', command: 'window:toggle-menu-bar' }
|
|
]
|
|
}
|
|
{
|
|
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' }
|
|
{ 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 Manually...', 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: '&Help'
|
|
submenu: [
|
|
{ label: "VERSION", enabled: false }
|
|
{ type: 'separator' }
|
|
{ label: 'Send Feedback to Nylas', command: 'application:send-feedback' }
|
|
]
|
|
}
|
|
]
|
|
|
|
'context-menu':[
|
|
]
|