diff options
author | 2019-09-13 18:09:53 +0200 | |
---|---|---|
committer | 2019-09-13 18:09:53 +0200 | |
commit | 644dc32adaf34604a689fef8a660eab4c6d900a1 (patch) | |
tree | 2faa3d83db918a3e9abce009cebffb409f81f35f /src/lib | |
parent | Fix merge errors (diff) | |
parent | Add underline keyboard shortcuts (fix Alt+Shift key issue) (diff) | |
download | ferdium-app-644dc32adaf34604a689fef8a660eab4c6d900a1.tar.gz ferdium-app-644dc32adaf34604a689fef8a660eab4c6d900a1.tar.zst ferdium-app-644dc32adaf34604a689fef8a660eab4c6d900a1.zip |
Merge pull request #27 from rseitbekov/master
Add underline keyboard shortcuts (fix Alt+Shift key issue)
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 46a73e4c1..b877c6555 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -426,7 +426,7 @@ const _templateFactory = intl => [ | |||
426 | 426 | ||
427 | const _titleBarTemplateFactory = intl => [ | 427 | const _titleBarTemplateFactory = intl => [ |
428 | { | 428 | { |
429 | label: intl.formatMessage(menuItems.edit), | 429 | label: '&' + intl.formatMessage(menuItems.edit), |
430 | submenu: [ | 430 | submenu: [ |
431 | { | 431 | { |
432 | label: intl.formatMessage(menuItems.undo), | 432 | label: intl.formatMessage(menuItems.undo), |
@@ -489,7 +489,7 @@ const _titleBarTemplateFactory = intl => [ | |||
489 | ], | 489 | ], |
490 | }, | 490 | }, |
491 | { | 491 | { |
492 | label: intl.formatMessage(menuItems.view), | 492 | label: '&' + intl.formatMessage(menuItems.view), |
493 | submenu: [ | 493 | submenu: [ |
494 | { | 494 | { |
495 | type: 'separator', | 495 | type: 'separator', |
@@ -538,16 +538,16 @@ const _titleBarTemplateFactory = intl => [ | |||
538 | ], | 538 | ], |
539 | }, | 539 | }, |
540 | { | 540 | { |
541 | label: intl.formatMessage(menuItems.services), | 541 | label: '&' + intl.formatMessage(menuItems.services), |
542 | submenu: [], | 542 | submenu: [], |
543 | }, | 543 | }, |
544 | { | 544 | { |
545 | label: intl.formatMessage(menuItems.workspaces), | 545 | label: '&' + intl.formatMessage(menuItems.workspaces), |
546 | submenu: [], | 546 | submenu: [], |
547 | visible: workspaceStore.isFeatureEnabled, | 547 | visible: workspaceStore.isFeatureEnabled, |
548 | }, | 548 | }, |
549 | { | 549 | { |
550 | label: intl.formatMessage(menuItems.window), | 550 | label: '&' + intl.formatMessage(menuItems.window), |
551 | submenu: [ | 551 | submenu: [ |
552 | { | 552 | { |
553 | label: intl.formatMessage(menuItems.minimize), | 553 | label: intl.formatMessage(menuItems.minimize), |
@@ -566,7 +566,7 @@ const _titleBarTemplateFactory = intl => [ | |||
566 | ], | 566 | ], |
567 | }, | 567 | }, |
568 | { | 568 | { |
569 | label: '?', | 569 | label: '&?', |
570 | submenu: [ | 570 | submenu: [ |
571 | { | 571 | { |
572 | label: intl.formatMessage(menuItems.learnMore), | 572 | label: intl.formatMessage(menuItems.learnMore), |
@@ -678,7 +678,7 @@ export default class FranzMenu { | |||
678 | }); | 678 | }); |
679 | 679 | ||
680 | tpl.unshift({ | 680 | tpl.unshift({ |
681 | label: isMac ? app.getName() : intl.formatMessage(menuItems.file), | 681 | label: isMac ? app.getName() : '&' + intl.formatMessage(menuItems.file), |
682 | submenu: [ | 682 | submenu: [ |
683 | { | 683 | { |
684 | label: intl.formatMessage(menuItems.about), | 684 | label: intl.formatMessage(menuItems.about), |