2017-03-05 11:46:27 +00:00
|
|
|
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",
|
2017-03-26 09:27:43 +00:00
|
|
|
"frontlight_gesture_controller",
|
2017-03-05 11:46:27 +00:00
|
|
|
"statistics",
|
2017-03-26 09:27:43 +00:00
|
|
|
"battery_statistics",
|
2017-03-05 11:46:27 +00:00
|
|
|
"storage_stat",
|
|
|
|
"cloud_storage",
|
2017-03-27 04:42:58 +00:00
|
|
|
"read_timer",
|
2017-04-02 06:50:24 +00:00
|
|
|
"terminal",
|
2017-03-05 11:46:27 +00:00
|
|
|
"----------------------------",
|
|
|
|
"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",
|
2017-04-02 21:46:19 +00:00
|
|
|
"system_statistics",
|
2017-03-05 11:46:27 +00:00
|
|
|
"----------------------------",
|
|
|
|
"exit",
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|
|
|
|
return order
|