mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
23cd585fae
Fixes #2774 * make history view borderless * add new menu for what to start with Should combine nicely with #2940
90 lines
2.3 KiB
Lua
90 lines
2.3 KiB
Lua
local order = {
|
|
["KOMenu:menu_buttons"] = {
|
|
"setting",
|
|
"tools",
|
|
"search",
|
|
"main",
|
|
},
|
|
setting = {
|
|
"show_hidden_files",
|
|
"----------------------------",
|
|
"sort_by",
|
|
"reverse_sorting",
|
|
"----------------------------",
|
|
"start_with",
|
|
"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",
|
|
"statistics",
|
|
"storage_stat",
|
|
"cloud_storage",
|
|
"read_timer",
|
|
"news_downloader",
|
|
"----------------------------",
|
|
"more_plugins",
|
|
"----------------------------",
|
|
"advanced_settings",
|
|
"developer_options",
|
|
},
|
|
more_plugins = {
|
|
"auto_frontlight",
|
|
"frontlight_gesture_controller",
|
|
"battery_statistics",
|
|
"synchronize_time",
|
|
"keep_alive",
|
|
"terminal",
|
|
"storage_stat",
|
|
},
|
|
search = {
|
|
"dictionary_lookup",
|
|
"disable_fuzzy_search",
|
|
"----------------------------",
|
|
"wikipedia_lookup",
|
|
"----------------------------",
|
|
"find_book_in_calibre_catalog",
|
|
"find_file",
|
|
"----------------------------",
|
|
"goodreads",
|
|
"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",
|
|
"----------------------------",
|
|
"restart_koreader",
|
|
"poweroff", -- if Device:isKobo()
|
|
"reboot", -- if Device:isKobo()
|
|
"----------------------------",
|
|
"exit",
|
|
},
|
|
help = {
|
|
"quickstart_guide",
|
|
"----------------------------",
|
|
"report_bug",
|
|
"----------------------------",
|
|
"about",
|
|
},
|
|
}
|
|
|
|
return order
|