diff options
author | 2019-10-25 11:18:17 +0200 | |
---|---|---|
committer | 2019-10-25 11:18:17 +0200 | |
commit | e196c79a24acdc7ed9b7db0102c446cfbe816ae6 (patch) | |
tree | e594bdc55764b2e3477e05e70a864c0e3d248d0e /src/lib | |
parent | Fix lint (diff) | |
download | ferdium-app-e196c79a24acdc7ed9b7db0102c446cfbe816ae6.tar.gz ferdium-app-e196c79a24acdc7ed9b7db0102c446cfbe816ae6.tar.zst ferdium-app-e196c79a24acdc7ed9b7db0102c446cfbe816ae6.zip |
#65 Remove & sign from menu bar
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index d7398a126..f3fbb0c73 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -487,7 +487,8 @@ const _templateFactory = intl => [ | |||
487 | 487 | ||
488 | const _titleBarTemplateFactory = intl => [ | 488 | const _titleBarTemplateFactory = intl => [ |
489 | { | 489 | { |
490 | label: `&${intl.formatMessage(menuItems.edit)}`, | 490 | label: intl.formatMessage(menuItems.edit), |
491 | accelerator: 'Alt+E', | ||
491 | submenu: [ | 492 | submenu: [ |
492 | { | 493 | { |
493 | label: intl.formatMessage(menuItems.undo), | 494 | label: intl.formatMessage(menuItems.undo), |
@@ -550,7 +551,8 @@ const _titleBarTemplateFactory = intl => [ | |||
550 | ], | 551 | ], |
551 | }, | 552 | }, |
552 | { | 553 | { |
553 | label: `&${intl.formatMessage(menuItems.view)}`, | 554 | label: intl.formatMessage(menuItems.view), |
555 | accelerator: 'Alt+V', | ||
554 | submenu: [ | 556 | submenu: [ |
555 | { | 557 | { |
556 | type: 'separator', | 558 | type: 'separator', |
@@ -641,11 +643,13 @@ const _titleBarTemplateFactory = intl => [ | |||
641 | ], | 643 | ], |
642 | }, | 644 | }, |
643 | { | 645 | { |
644 | label: `&${intl.formatMessage(menuItems.services)}`, | 646 | label: intl.formatMessage(menuItems.services), |
647 | accelerator: 'Alt+S', | ||
645 | submenu: [], | 648 | submenu: [], |
646 | }, | 649 | }, |
647 | { | 650 | { |
648 | label: `&${intl.formatMessage(menuItems.workspaces)}`, | 651 | label: intl.formatMessage(menuItems.workspaces), |
652 | accelerator: 'Alt+W', | ||
649 | submenu: [], | 653 | submenu: [], |
650 | visible: workspaceStore.isFeatureEnabled, | 654 | visible: workspaceStore.isFeatureEnabled, |
651 | }, | 655 | }, |
@@ -816,7 +820,8 @@ export default class FranzMenu { | |||
816 | }); | 820 | }); |
817 | 821 | ||
818 | tpl.unshift({ | 822 | tpl.unshift({ |
819 | label: isMac ? app.getName() : `&${intl.formatMessage(menuItems.file)}`, | 823 | label: isMac ? app.getName() : intl.formatMessage(menuItems.file), |
824 | accelerator: 'Alt+F', | ||
820 | submenu: [ | 825 | submenu: [ |
821 | { | 826 | { |
822 | label: intl.formatMessage(menuItems.about), | 827 | label: intl.formatMessage(menuItems.about), |