View Single Post
Old 11-27-2010, 05:17 PM   #4
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by janvanmaar View Post
Thanks kiwidude, this is exactly the information I needed!
I will try to get to the point so that (only) builtins.py manual rewrites are needed and then perhaps think of a workaround for that need (although it is extremely unlikely to find one if you did not).
Well if you can think of a way to convince Kovid that your requirement would be useful to others and submit it as a patch then that would solve your update problem ;-)

For instance a "Run command" type menu action, with the definition of what that command is stored in the tweaks. So you and anyone else going forward could customise what it does without touching the source code, and if the menu action wasn't included in the default menu then no-one else will see it unless they customise their menu to include it. Whether something like that still fits your need of course is another issue...
kiwidude is offline   Reply With Quote