mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Follow HIG: use ellipsis for Preferences menu item, add app name to About menu item
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
5055ad0aec
commit
b7e4e9e075
@ -132,11 +132,11 @@ function buildMenuTemplate() {
|
|||||||
submenu: [
|
submenu: [
|
||||||
{
|
{
|
||||||
role: 'about',
|
role: 'about',
|
||||||
label: _t('About'),
|
label: _t('About') + ' ' + app.name,
|
||||||
},
|
},
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{
|
{
|
||||||
label: _t('Preferences'),
|
label: _t('Preferences') + '…',
|
||||||
accelerator: 'Command+,', // Mac-only accelerator
|
accelerator: 'Command+,', // Mac-only accelerator
|
||||||
click() { global.mainWindow.webContents.send('preferences'); },
|
click() { global.mainWindow.webContents.send('preferences'); },
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user