Not allow Alt+Shift to open menu on Cinnamon desktop environment.

Close #104
This commit is contained in:
Yuya Ochiai 2016-04-11 23:07:56 +09:00
parent c9ab2cdbef
commit 914b782d48

View file

@ -26,7 +26,7 @@ var createTemplate = function(mainWindow) {
}] : []; }] : [];
template.push({ template.push({
label: first_menu_name, label: '&' + first_menu_name,
submenu: [{ submenu: [{
label: 'About ' + app_name, label: 'About ' + app_name,
role: 'about', role: 'about',
@ -50,7 +50,7 @@ var createTemplate = function(mainWindow) {
}] }]
}); });
template.push({ template.push({
label: 'Edit', label: '&Edit',
submenu: [{ submenu: [{
label: 'Undo', label: 'Undo',
accelerator: 'CmdOrCtrl+Z', accelerator: 'CmdOrCtrl+Z',
@ -80,7 +80,7 @@ var createTemplate = function(mainWindow) {
}, ] }, ]
}); });
template.push({ template.push({
label: 'View', label: '&View',
submenu: [{ submenu: [{
label: 'Reload', label: 'Reload',
accelerator: 'CmdOrCtrl+R', accelerator: 'CmdOrCtrl+R',