update app menu
This commit is contained in:
parent
6c0e81ae91
commit
eec35c1eec
2 changed files with 9 additions and 5 deletions
|
@ -264,11 +264,11 @@
|
||||||
{"id": "welcome", "title": "Welcome"},
|
{"id": "welcome", "title": "Welcome"},
|
||||||
{"id": "app", "title": "Application", "parts": [
|
{"id": "app", "title": "Application", "parts": [
|
||||||
{"id": "about", "title": "About Open Media Library"},
|
{"id": "about", "title": "About Open Media Library"},
|
||||||
|
{"id": "update", "title": "Software Update"},
|
||||||
{"id": "faq", "title": "Frequently Asked Questions"},
|
{"id": "faq", "title": "Frequently Asked Questions"},
|
||||||
{"id": "terms", "title": "Terms and Conditions"},
|
{"id": "terms", "title": "Terms and Conditions"},
|
||||||
{"id": "development", "title": "Software Development"},
|
{"id": "development", "title": "Software Development"},
|
||||||
{"id": "contact", "title": "Send Feedback"},
|
{"id": "contact", "title": "Send Feedback"}
|
||||||
{"id": "update", "title": "Software Update"}
|
|
||||||
]},
|
]},
|
||||||
{"id": "preferences", "title": "Preferences", "parts": [
|
{"id": "preferences", "title": "Preferences", "parts": [
|
||||||
{"id": "account", "title": "Account"},
|
{"id": "account", "title": "Account"},
|
||||||
|
|
|
@ -19,13 +19,17 @@ oml.ui.mainMenu = function() {
|
||||||
id: 'appMenu',
|
id: 'appMenu',
|
||||||
title: '<img src="/static/png/oml.png" style="width: 14px; height: 14px">',
|
title: '<img src="/static/png/oml.png" style="width: 14px; height: 14px">',
|
||||||
items: [
|
items: [
|
||||||
appItems[0],
|
appItems.slice(0, 2),
|
||||||
{}
|
{}
|
||||||
].concat(
|
].concat(
|
||||||
appItems.slice(1, -1)
|
appItems.slice(2)
|
||||||
).concat([
|
).concat([
|
||||||
{},
|
{},
|
||||||
Ox.last(appItems)
|
{
|
||||||
|
id: 'quit',
|
||||||
|
title: Ox._('Quit Open Media Library'),
|
||||||
|
keyboard: 'control q'
|
||||||
|
}
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue