Merge pull request #342 from h3poteto/iss-273

closes #273 Add a top level menu for new toot
This commit is contained in:
AkiraFukushima 2018-05-27 00:34:08 +09:00 committed by GitHub
commit 77592f2c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 10 deletions

View File

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