mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
MenuSorter: initial implementation
* Menus are now sanely configurable * Custom separator placement for clearer menus
This commit is contained in:
@@ -16,18 +16,18 @@ end
|
||||
|
||||
function ReaderGoto:addToMainMenu(tab_item_table)
|
||||
-- insert goto command to main reader menu
|
||||
table.insert(tab_item_table.navi, {
|
||||
self.ui.menu.menu_items["go_to"] = {
|
||||
text = self.goto_menu_title,
|
||||
callback = function()
|
||||
self:onShowGotoDialog()
|
||||
end,
|
||||
})
|
||||
table.insert(tab_item_table.navi, {
|
||||
}
|
||||
self.ui.menu.menu_items["skim_to"] = {
|
||||
text = self.skim_menu_title,
|
||||
callback = function()
|
||||
self:onShowSkimtoDialog()
|
||||
end,
|
||||
})
|
||||
}
|
||||
end
|
||||
|
||||
function ReaderGoto:onShowGotoDialog()
|
||||
|
||||
Reference in New Issue
Block a user