From 9fefb507f868ec6887d3d665a5d4d5960899e078 Mon Sep 17 00:00:00 2001 From: cmrd Senya Date: Mon, 19 Feb 2018 21:50:53 +0200 Subject: [PATCH] Add & to menu items to avoid alt-shift menu popup refixes #50 --- src/scripts/menus.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/scripts/menus.js b/src/scripts/menus.js index 5627f79851..d0092c1b81 100644 --- a/src/scripts/menus.js +++ b/src/scripts/menus.js @@ -18,29 +18,29 @@ document.title = APP_NAME; const menuTemplate = [ { - label: APP_NAME, + label: '&' + APP_NAME, submenu: appMenu }, { - label: i18n.__('Edit'), + label: '&' + i18n.__('Edit'), submenu: editMenu }, { - label: i18n.__('View'), + label: '&' + i18n.__('View'), submenu: viewMenu }, { - label: i18n.__('History'), + label: '&' + i18n.__('History'), submenu: historyMenu }, { - label: i18n.__('Window'), + label: '&' + i18n.__('Window'), id: 'window', role: 'window', submenu: windowMenu }, { - label: i18n.__('Help'), + label: '&' + i18n.__('Help'), role: 'help', submenu: helpMenu } @@ -56,7 +56,7 @@ function addServer (host, position) { windowMenu[index].visible = true; const menuItem = { - label: host.title, + label: '&' + host.title, accelerator: `CmdOrCtrl+ ${position}`, position: 'before=server-list-separator', id: host.url,