View Single Post
Old 10-15-2013, 08:46 AM   #9
At_Libitum
Addict
At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.At_Libitum ought to be getting tired of karma fortunes by now.
 
Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
Quote:
Originally Posted by GRiker View Post
If you're trying to replace the functionality of view_books() in device.py, you should create a view_books() method in your overlay. From that point, you would presumably call your own local _view_book() method.

G
Ah, so I do need to go up the chain...thanks

EDIT: Seems I am overlooking something.

I have included a local 1:1 copy of view_book() from device.py and a version of _view_book() which checks if there's an extension on the outfile name.

Neither of which triggers when pressing V in device view, keypress still goes to device.py

Last edited by At_Libitum; 10-15-2013 at 09:14 AM.
At_Libitum is offline   Reply With Quote