remove menu item shortcut for k4

pull/2/merge
Qingping Hou 12 years ago
parent 1c216b6458
commit ac385783ed

@ -8,7 +8,6 @@ require "ui/infomessage"
require "document/document"
require "alt_getopt"
function showReader(file, pass)
local document = DocumentRegistry:openDocument(file)
if not document then
@ -105,6 +104,12 @@ if optarg["G"] ~= nil then
globalgamma = optarg["G"]
end
if Device.isKindle4() then
-- remove menu item shortcut for K4
Menu.is_enable_shortcut = false
end
-- set up reader's setting: font
G_reader_settings = DocSettings:open(".reader")
fontmap = G_reader_settings:readSetting("fontmap")

Loading…
Cancel
Save