mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
cleanup
This commit is contained in:
@@ -49,14 +49,7 @@ var file = {
|
||||
label: 'New Post',
|
||||
accelerator: OSX ? 'Command + N' : 'Control + N',
|
||||
click: function () {
|
||||
mainWindow.webContents.send('top-new-post')
|
||||
}
|
||||
},
|
||||
{
|
||||
label: 'New Folder',
|
||||
accelerator: OSX ? 'Command + Shift + N' : 'Control + Shift + N',
|
||||
click: function () {
|
||||
mainWindow.webContents.send('nav-new-folder')
|
||||
mainWindow.webContents.send('top:new-note')
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -66,7 +59,7 @@ var file = {
|
||||
label: 'Delete Post',
|
||||
accelerator: OSX ? 'Control + Backspace' : 'Control + Delete',
|
||||
click: function () {
|
||||
mainWindow.webContents.send('detail-delete')
|
||||
mainWindow.webContents.send('detail:delete')
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -127,16 +120,6 @@ var edit = {
|
||||
var view = {
|
||||
label: 'View',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Focus Search',
|
||||
accelerator: 'Control + Alt + F',
|
||||
click: function () {
|
||||
mainWindow.webContents.send('top-focus-search')
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Reload',
|
||||
accelerator: (function () {
|
||||
@@ -192,12 +175,8 @@ var help = {
|
||||
click: function () { shell.openExternal('https://b00st.io/') }
|
||||
},
|
||||
{
|
||||
label: 'Tutorial page',
|
||||
click: function () { shell.openExternal('https://b00st.io/tutorial.html') }
|
||||
},
|
||||
{
|
||||
label: 'Discussions',
|
||||
click: function () { shell.openExternal('https://github.com/BoostIO/boost-app-discussions/issues') }
|
||||
label: 'Issue Tracker',
|
||||
click: function () { shell.openExternal('https://github.com/BoostIO/Boostnote/issues') }
|
||||
},
|
||||
{
|
||||
label: 'Changelog',
|
||||
|
||||
Reference in New Issue
Block a user