diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-09-25 21:17:20 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-09-26 15:53:04 (GMT) |
commit | 52f48d6664ced428f4a6d9dc1913e42429236f87 (patch) | |
tree | d2637e4e00db9b28a3e460766094aa26d7c4e009 /epubadapter.py | |
parent | 953759e90c8f8717003655e3f838843a045796a3 (diff) |
Comment the code related to tts in epub backend
Needed to work with sugar-build until error with espeak plugin is fixed
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'epubadapter.py')
-rw-r--r-- | epubadapter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epubadapter.py b/epubadapter.py index 687565f..8eebd9f 100644 --- a/epubadapter.py +++ b/epubadapter.py @@ -3,7 +3,7 @@ import logging import epubview -import speech +#import speech from cStringIO import StringIO @@ -28,9 +28,9 @@ class EpubViewer(epubview.EpubView): def load_document(self, file_path): self.set_document(EpubDocument(self, file_path.replace('file://', ''))) - speech.highlight_cb = self.highlight_next_word - speech.reset_cb = self.reset_text_to_speech - speech.end_text_cb = self.get_more_text + #speech.highlight_cb = self.highlight_next_word + #speech.reset_cb = self.reset_text_to_speech + #speech.end_text_cb = self.get_more_text def load_metadata(self, activity): |