refs #273 Add a top level menu for new toot

This commit is contained in:
AkiraFukushima 2018-05-26 23:44:37 +09:00
parent 651ebb1a82
commit 0c03617018
1 changed files with 5 additions and 10 deletions

View File

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