Pocketbook: File handling OS integration (#6617)

* Show opened file in task manager
* Remember file to open on power-off
* Perform file associations
This commit is contained in:
ezdiy
2020-09-01 17:52:16 +02:00
committed by GitHub
parent 426f7b5ddc
commit c9a339ead0
5 changed files with 57 additions and 11 deletions

View File

@@ -583,6 +583,7 @@ function ReaderUI:doShowReader(file, provider)
local _, filename = util.splitFilePathName(file)
Screen:setWindowTitle(filename)
end
Device:notifyBookState(title, document)
UIManager:show(reader)
_running_instance = reader
@@ -692,6 +693,7 @@ end
function ReaderUI:onClose(full_refresh)
logger.dbg("closing reader")
Device:notifyBookState(nil, nil)
if full_refresh == nil then
full_refresh = true
end