Merge pull request #342 from h3poteto/iss-273
closes #273 Add a top level menu for new toot
This commit is contained in:
commit
77592f2c47
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue