Files
koreader/frontend/ui/elements/filemanager_menu_order.lua
Frans de Jonge a8b3873c8c Help submenu
This commit seeks to improve the paltry help menu item. It breaks the "try to have at least three items in a submenu" rule in anticipation of an upcoming quickstart guide and show quickstart guide setting. This guide will explain that (soon) you will have to swipe south at the top of the screen to activate the menu.

Also see the somewhat related #1371, which would also go in the submenu.
2017-04-04 09:31:25 -07:00

72 lines
1.8 KiB
Lua

local order = {
["KOMenu:menu_buttons"] = {
"setting",
"tools",
"search",
"main",
},
setting = {
"show_hidden_files",
"----------------------------",
"sort_by",
"reverse_sorting",
"----------------------------",
"start_with_last_opened_file",
"screensaver",
"----------------------------",
-- common settings
-- those that don't exist will simply be skipped during menu gen
"frontlight", -- if Device:hasFrontlight()
"night_mode",
"----------------------------",
"network",
"screen",
"save_document",
"----------------------------",
"language",
-- end common settings
},
tools = {
"calibre_wireless_connection",
"evernote",
"goodreads",
"keep_alive",
"frontlight_gesture_controller",
"statistics",
"battery_statistics",
"storage_stat",
"cloud_storage",
"read_timer",
"synchronize_time",
"terminal",
"----------------------------",
"advanced_settings",
"developer_options",
},
search = {
"dictionary_lookup",
"find_book_in_calibre_catalog",
"find_file",
"----------------------------",
"opds_catalog",
},
main = {
"history",
"open_last_document",
"----------------------------",
"ota_update", -- if Device:isKindle() or Device:isKobo() or Device:isPocketBook() or Device:isAndroid()
"version",
"help",
"system_statistics",
"----------------------------",
"exit",
},
help = {
"report_bug",
"----------------------------",
"about",
},
}
return order