View Single Post
Old 07-12-2013, 10:57 PM   #229
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by BWinmill View Post
Corrected idea:

You can try adding a line between lines 20 and 21 of frontend/ui/widget/filechooser.lua. These lines are:

Code:
	for f in lfs.dir(self.path) do
		if self.show_hidden or not string.match(f, "^%.[^.]") then
It should be changed to:

Code:
	for f in lfs.dir(self.path) do
		self.show_hidden = true
		if self.show_hidden or not string.match(f, "^%.[^.]") then
It's a bit of a kludge, but it should work.

I haven't had a chance to test it since I haven't managed to get koreader to work after a factory reset (!), but there is no reason why it shouldn't work. (Just keep a backup of the original file to be safe.)
Thanks, I'll give it a try. It looks to be not only addressing the .file issue but actual hidden file display as well.

Wondering why not change the earlier "show_hidden = false" to true?

Luck;
Ken

Last edited by Ken Maltby; 07-12-2013 at 11:03 PM.
Ken Maltby is offline   Reply With Quote