rename ReaderMenu:addToMainMenuCallback to registerToMainMenu

since we are actully inserting widgets, not callbacks
This commit is contained in:
Qingping Hou
2012-12-15 09:30:48 +08:00
parent 5b6558383d
commit dbd27cd600
4 changed files with 11 additions and 4 deletions

View File

@@ -49,6 +49,10 @@ ReaderZooming = InputContainer:new{
rotation = 0
}
function ReaderZooming:init()
self.ui.menu:registerToMainMenu(self)
end
function ReaderZooming:onReadSettings(config)
-- @TODO config file from old code base uses globalzoom_mode
-- instead of zoom_mode, we need to handle this imcompatibility