fix dogear not shown properly in crereader

This commit is contained in:
chrox committed 2014-01-18 19:18:12 +08:00
1 parent 2d6d0a92f6
commit e947f83548
4 files changed
+25 -9

No files matched your search

+5
View File
@@ -348,6 +348,11 @@ function CreDocument:setBatteryState(state)
self._document:setBatteryState(state)
end
function CreDocument:isXPointerInCurrentPage(xp)
DEBUG("CreDocument: check in page", xp)
return self._document:isXPointerInCurrentPage(xp)
end
function CreDocument:register(registry)
registry:addProvider("txt", "application/txt", self)
registry:addProvider("epub", "application/epub", self)