Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/epubadapter.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-09-27 15:07:53 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-09-27 15:07:53 (GMT)
commit502990fcb8c319deca057e545b8db50d45874d5b (patch)
tree49e452b066c5c06722741a4aeb0480e3d4541467 /epubadapter.py
parentd65364368002663ad89a7c6a02e51afa16cbf01b (diff)
Fix crash in search with epub files - part of SL #3924
This patch also highligth the results as in Browse. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'epubadapter.py')
-rw-r--r--epubadapter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/epubadapter.py b/epubadapter.py
index 8eebd9f..1946e51 100644
--- a/epubadapter.py
+++ b/epubadapter.py
@@ -128,8 +128,7 @@ class EpubViewer(epubview.EpubView):
return
def find_set_highlight_search(self, set_highlight_search):
- #TODO : what is this?
- return
+ self._view.set_highlight_text_matches(set_highlight_search)
def set_current_page(self, n):
# When the book is being loaded, calling this does not help