Make the close menu items less ambiguous

@Tyriar brought up a good point in #123 that the close menu items can be
ambiguous and misleading. This clarifies them so you know exactly what
you're closing.

Fixes #123.
This commit is contained in:
Mike Engel 2016-10-24 23:23:13 -06:00 committed by Martin Ek
parent 630f0f4504
commit 8cc47a498c

View file

@ -105,7 +105,7 @@ module.exports = ({createWindow, updatePlugins}) => {
type: 'separator' type: 'separator'
}, },
{ {
label: 'Close', label: 'Close Session',
accelerator: 'CmdOrCtrl+W', accelerator: 'CmdOrCtrl+W',
click(item, focusedWindow) { click(item, focusedWindow) {
if (focusedWindow) { if (focusedWindow) {
@ -114,7 +114,7 @@ module.exports = ({createWindow, updatePlugins}) => {
} }
}, },
{ {
label: isMac ? 'Close Terminal Window' : 'Quit', label: isMac ? 'Close Window' : 'Quit',
role: 'close', role: 'close',
accelerator: 'CmdOrCtrl+Shift+W' accelerator: 'CmdOrCtrl+Shift+W'
} }