Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/evinceadapter.py
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-09-05 13:57:45 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-09-10 14:19:33 (GMT)
commitabe02384fbcc42b82706240c924e646cb77b72ad (patch)
tree5fd3cdd2c223e59853b505e3779726d34dd58050 /evinceadapter.py
parent947f24c5e925c53ee43cab7f1b8b75b2ef169b8f (diff)
Disable code to read index in pdf files
Is crashing in f17 and does not works yet anyway due to https://bugzilla.gnome.org/show_bug.cgi?id=682882 Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'evinceadapter.py')
-rw-r--r--evinceadapter.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/evinceadapter.py b/evinceadapter.py
index 59a4e3e..2aaa216 100644
--- a/evinceadapter.py
+++ b/evinceadapter.py
@@ -246,6 +246,9 @@ class EvinceViewer():
self._model.connect('page-changed', handler)
def update_toc(self, activity):
+ return False
+ """
+ Commented because does not work and crash with old evince
doc = self._model.get_document()
if not doc.has_document_links():
logging.error('The pdf file does not have a index')
@@ -256,6 +259,7 @@ class EvinceViewer():
activity)
EvinceView.Job.scheduler_push_job(self._job_links,
EvinceView.JobPriority.PRIORITY_NONE)
+ """
def __index_loaded_cb(self, job, activity):
logging.error('__index_loaded_cb %s %s', job.__class__, dir(job))