diff --git a/public/electron.js b/public/electron.js index ba94979..35cdd30 100644 --- a/public/electron.js +++ b/public/electron.js @@ -284,11 +284,8 @@ function createMenubar() { ] }, { - role: 'window', + label: "Places", submenu: [ - { role: 'minimize' }, - { role: 'close' }, - { type: 'separator' }, { label: 'Home', accelerator: "CmdOrCtrl+0", @@ -334,6 +331,14 @@ function createMenubar() { }, ] }, + { + role: 'window', + submenu: [ + { role: 'minimize' }, + { role: 'close' }, + { type: 'separator' }, + ] + }, { role: 'help', submenu: [ @@ -396,55 +401,11 @@ function createMenubar() { ) // Window menu - menuBar[4].submenu = [ + menuBar[5].submenu = [ { role: 'close' }, { role: 'minimize' }, { role: 'zoom' }, { type: 'separator' }, - { - label: 'Home', - accelerator: "CmdOrCtrl+0", - click() { - safelyGoTo("hyperspace://hyperspace/app/#/home") - } - }, - { - label: 'Local', - accelerator: "CmdOrCtrl+1", - click() { - safelyGoTo("hyperspace://hyperspace/app/#/local") - } - }, - { - label: 'Public', - accelerator: "CmdOrCtrl+2", - click() { - safelyGoTo("hyperspace://hyperspace/app/#/public") - } - }, - { - label: 'Recommended', - accelerator: "CmdOrCtrl+3", - click() { - safelyGoTo("hyperspace://hyperspace/app/#/recommended") - } - }, - { type: 'separator' }, - { - label: 'Notifications', - accelerator: "CmdOrCtrl+4", - click() { - safelyGoTo("hyperspace://hyperspace/app/#/notifications") - } - }, - { - label: 'Messages', - accelerator: "CmdOrCtrl+5", - click() { - safelyGoTo("hyperspace://hyperspace/app/#/messages") - } - }, - { type: 'separator' }, { role: 'front' } ] }