diff options
author | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-12-05 17:41:18 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-01-20 17:00:01 (GMT) |
commit | 5832d4df2cfd4478463ec581e21ac4f2bc92ad21 (patch) | |
tree | 0c6da4af835adc65b25a55968fedf4235a8b5977 /epubadapter.py | |
parent | 09a7e07c1d49bb6d4df3920fdb92a0169efe24d6 (diff) |
adapt to evince 2.30 API (SL#1900)
PDFs are working fine, EPub support is limited:
- search not working
- copy to clipboard disabled
- zoom disabled
- page next/prev disabled
Tested-by: Sascha Silbe <sascha-pgp@silbe.org>
[combined into a single patch, wrote patch description, minor style clean-ups]
Signed-off-by: Sascha Silbe <sascha-pgp@silbe.org>
Diffstat (limited to 'epubadapter.py')
-rw-r--r-- | epubadapter.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/epubadapter.py b/epubadapter.py index 2bea967..a11cdd7 100644 --- a/epubadapter.py +++ b/epubadapter.py @@ -51,9 +51,6 @@ class EpubDocument(epubview.Epub): epubview.Epub.__init__(self, docpath) self._page_cache = view - def get_page_cache(self): - return self._page_cache - def get_n_pages(self): return int(self._page_cache.get_pagecount()) |