mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
File Manager: rename to "KOReader File Browser" and add up arrow to ".."
This should make it clearer to new users what's going on. Fixes #2529.
This commit is contained in:
committed by
Qingping Hou
parent
4d043e1c90
commit
6458c8e9eb
@@ -62,7 +62,7 @@ local function restoreScreenMode()
|
||||
end
|
||||
|
||||
local FileManager = InputContainer:extend{
|
||||
title = _("File Manager"),
|
||||
title = _("KOReader File Browser"),
|
||||
root_path = lfs.currentdir(),
|
||||
-- our own size
|
||||
dimen = Geom:new{ w = 400, h = 600 },
|
||||
|
||||
@@ -154,7 +154,7 @@ function FileChooser:genItemTableFromPath(path)
|
||||
end
|
||||
|
||||
table.sort(dirs, sorting)
|
||||
if path ~= "/" then table.insert(dirs, 1, {name = ".."}) end
|
||||
if path ~= "/" then table.insert(dirs, 1, {name = "⬆ .."}) end
|
||||
table.sort(files, sorting)
|
||||
|
||||
local item_table = {}
|
||||
|
||||
Reference in New Issue
Block a user