1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-31 17:45:22 +01:00

Merge pull request #344 from h3poteto/revert-342-iss-273

Revert "closes #273 Add a top level menu for new toot"
This commit is contained in:
AkiraFukushima 2018-05-28 08:40:46 +09:00 committed by GitHub
commit 3c6bceaefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,11 +116,16 @@ function createWindow () {
]
},
{
label: 'New Toot',
accelerator: 'CmdOrCtrl+N',
click: () => {
mainWindow.webContents.send('CmdOrCtrl+N')
}
label: 'Toot',
submenu: [
{
label: 'New Toot',
accelerator: 'CmdOrCtrl+N',
click: () => {
mainWindow.webContents.send('CmdOrCtrl+N')
}
}
]
},
{
label: 'Edit',