diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-05-31 12:58:07 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-05-31 13:13:00 (GMT) |
commit | 78399f5c9a827510094eef25fa24c28a36dffd61 (patch) | |
tree | 12309645f43ed61431c9d194514404cc04593217 /epubview | |
parent | 0ade8026a10108e0d4c2e945f3743945814a9dff (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 'epubview')
-rw-r--r-- | epubview/epubview.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epubview/epubview.py b/epubview/epubview.py index b9f157c..432c332 100644 --- a/epubview/epubview.py +++ b/epubview/epubview.py @@ -552,11 +552,15 @@ class _View(gtk.HBox): if filename != self._loaded_filename: #self._loaded_filename = filename + """ + TODO: disabled because javascript can't be executed + with the velocity needed # Copy javascript to highligth text to speech destpath, destname = os.path.split(filename.replace('file://', '')) shutil.copy('./epubview/highlight_words.js', destpath) self._insert_js_reference(filename.replace('file://', ''), destpath) + """ if filename.endswith('xml'): dest = filename.replace('xml', 'xhtml') |