Mailspring/menus/linux.json
Halla Moore 99e3f732d9 fix(custom-imap): Hide custom imap accounts and settings from onboarding
Summary:
IMAP no longer appears on the onboarding account list, and the option to
edit connection settings does not appear for any of the visible account
types. Custom IMAP accounts can still be added via a menu option.

Fixes T7474

Test Plan: tested locally

Reviewers: juan, jackie, evan

Reviewed By: evan

Maniphest Tasks: T7474

Differential Revision: https://phab.nylas.com/D3636
2017-01-12 10:25:33 -08:00

107 lines
4.4 KiB
JSON

{
"menu": [
{
"label": "&File",
"submenu": [
{ "label": "&New Message...", "command": "application:new-message" },
{ "type": "separator" },
{ "label": "Add Account...", "command": "application:add-account" },
{ "label": "Add Custom IMAP Account...", "command": "application:add-account", "args": {"accountType": "imap"}},
{ "label": "Clos&e Window", "command": "window:close" },
{ "type": "separator" },
{ "label": "Print Current Thread...", "command": "core: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": "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": "core:find-in-thread" },
{ "label": "Find Next", "command": "core:find-in-thread-next" },
{ "label": "Find Previous", "command": "core:find-in-thread-previous" }
]},
{ "type": "separator" },
{ "label": "Preferences", "command": "application:open-preferences" },
{ "label": "Change Theme...", "command": "window:launch-theme-picker" },
{ "label": "Install Theme...", "command": "application:install-package" }
]
},
{
"label": "&View",
"submenu": [
{ "type": "separator", "id": "mailbox-navigation"},
{ "label": "Go to Inbox", "command": "navigation:go-to-inbox" },
{ "label": "Go to Starred", "command": "navigation:go-to-starred" },
{ "label": "Go to Sent", "command": "navigation:go-to-sent" },
{ "label": "Go to Drafts", "command": "navigation:go-to-drafts" },
{ "label": "Go to All mail", "command": "navigation:go-to-all" },
{ "type": "separator" },
{ "label": "Enter Full Screen", "command": "window:toggle-full-screen" },
{ "label": "Exit Full Screen", "command": "window:toggle-full-screen", "visible": false }
]
},
{
"label": "Thread",
"submenu": [
{ "label": "Reply", "command": "core:reply" },
{ "label": "Reply All", "command": "core:reply-all" },
{ "label": "Forward", "command": "core:forward" },
{ "type": "separator" },
{ "label": "Star", "command": "core:star-item" },
{ "type": "separator", "id": "thread-actions" },
{ "label": "Remove from view", "command": "core:remove-from-view" },
{ "type": "separator", "id": "view-actions" }
]
},
{
"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 Screenshot Mode", "command": "window:toggle-screenshot-mode" },
{ "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", "id": "window-list-separator" }
]
},
{
"label": "&Help",
"submenu": [
{ "label": "VERSION", "enabled": false },
{ "type": "separator" },
{ "label": "Nylas N1 Help", "command": "application:view-help" }
]
}
]
}