Skip to content

Commit

Permalink
Add & to menu items to avoid alt-shift menu popup
Browse files Browse the repository at this point in the history
  • Loading branch information
cmrd-senya committed Feb 19, 2018
1 parent 008a4cf commit 9fefb50
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/scripts/menus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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,
Expand Down

0 comments on commit 9fefb50

Please sign in to comment.