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@sugarlabs.org>2011-05-31 12:58:07 (GMT)
committer Gonzalo Odiard <godiard@sugarlabs.org>2011-05-31 13:13:00 (GMT)
commit78399f5c9a827510094eef25fa24c28a36dffd61 (patch)
tree12309645f43ed61431c9d194514404cc04593217 /epubadapter.py
parent0ade8026a10108e0d4c2e945f3743945814a9dff (diff)
Disable word highlighting in epub backend
The solution implemented using javascript is not good. There are a problema also, creating tmp files and not removing them.
Diffstat (limited to 'epubadapter.py')
-rw-r--r--epubadapter.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/epubadapter.py b/epubadapter.py
index 38a9991..9b691b8 100644
--- a/epubadapter.py
+++ b/epubadapter.py
@@ -82,9 +82,14 @@ class EpubViewer(epubview.EpubView):
speech.play(more_text)
def highlight_next_word(self, word_count):
+ pass
+ """
+ TODO: disabled because javascript can't be executed
+ with the velocity needed
self.current_word = word_count
self._view.highlight_next_word()
return True
+ """
def connect_zoom_handler(self, handler):
self._zoom_handler = handler