View Single Post
Old 06-15-2015, 07:19 AM   #23
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Quote:
Originally Posted by GeoffR View Post
I've updated the attachment in post #1 to include the missing `Search in library by default` patch, and include it here for those who want to paste it into their current libnickel.so.1.0.0.patch file:
Spoiler:
Code:
<Patch>
patch_name = `Search in Library by default`
patch_enable = `yes`
# SearchEditBox.setSearchType(0) --> SearchEditBox.setSearchType(1)
replace_bytes = 9025D4, 41 46, 01 21
</Patch>


There are now 5 search location options available when you tap the search bar: Bookstore, Library, Current Read, Annotations, and Dictionary. Which one comes up by default depends on where you were when you invoked search.

The patch should cause Library to be the default whenever Bookstore would have been the default without the patch, but have no effect if another location is the default. I.e. if you invoke search from within a book it should still default to Current Read.
Thank you very much !
Nick_1964 is offline   Reply With Quote