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

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