mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Reorder File menu (#1420)
Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
04517148c0
commit
126e1ff7a8
@ -134,18 +134,23 @@ export function buildMenu(windowManager: WindowManager) {
|
|||||||
click() {
|
click() {
|
||||||
navigate(extensionsURL())
|
navigate(extensionsURL())
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
]),
|
||||||
|
{ type: 'separator' },
|
||||||
|
{
|
||||||
|
role: 'close',
|
||||||
|
label: "Close Window"
|
||||||
|
},
|
||||||
|
...ignoreOnMac([
|
||||||
{ type: 'separator' },
|
{ type: 'separator' },
|
||||||
{
|
{
|
||||||
label: 'Quit',
|
label: 'Exit',
|
||||||
accelerator: 'Alt+F4',
|
accelerator: 'Alt+F4',
|
||||||
click() {
|
click() {
|
||||||
exitApp()
|
exitApp()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]),
|
])
|
||||||
{ type: 'separator' },
|
|
||||||
{ role: 'close' } // close current window
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user