From 969734931b0716ebbe94b5ba7aa3731b64f721f5 Mon Sep 17 00:00:00 2001 From: WS64 Date: Thu, 7 Aug 2014 20:22:28 +0200 Subject: [PATCH 1/2] progressbar can be turned off in mini bar --- frontend/apps/reader/modules/readerfooter.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/apps/reader/modules/readerfooter.lua b/frontend/apps/reader/modules/readerfooter.lua index efbdd5c85..92cf99d81 100644 --- a/frontend/apps/reader/modules/readerfooter.lua +++ b/frontend/apps/reader/modules/readerfooter.lua @@ -75,7 +75,9 @@ function ReaderFooter:init() dimen = Geom:new{ w = text_width, h = self.height }, self.progress_text, } - table.insert(horizontal_group, bar_container) + if DMINIBAR_PROGRESSBAR then + table.insert(horizontal_group, bar_container) + end table.insert(horizontal_group, text_container) self[1] = BottomContainer:new{ dimen = Screen:getSize(), From d7739a25e6e90b62d0bfdd0c2f723312f786f8fa Mon Sep 17 00:00:00 2001 From: WS64 Date: Thu, 7 Aug 2014 20:23:11 +0200 Subject: [PATCH 2/2] Default = progressbar visible --- defaults.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults.lua b/defaults.lua index 9193a2a57..56080329d 100644 --- a/defaults.lua +++ b/defaults.lua @@ -121,6 +121,7 @@ DCREREADER_PROGRESS_BAR = 1 -- configure "mini" progress bar DMINIBAR_ALL_AT_ONCE = false +DMINIBAR_PROGRESSBAR = true DMINIBAR_TIME = true DMINIBAR_PAGES = true DMINIBAR_NEXT_CHAPTER = true