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>
Gonzalo Odiard
11 years ago
245 | 245 | self._model.connect('page-changed', handler) |
246 | 246 | |
247 | 247 | def update_toc(self, activity): |
248 | return False | |
249 | """ | |
250 | Commented because does not work and crash with old evince | |
248 | 251 | doc = self._model.get_document() |
249 | 252 | if not doc.has_document_links(): |
250 | 253 | logging.error('The pdf file does not have a index') |
255 | 258 | activity) |
256 | 259 | EvinceView.Job.scheduler_push_job(self._job_links, |
257 | 260 | EvinceView.JobPriority.PRIORITY_NONE) |
261 | """ | |
258 | 262 | |
259 | 263 | def __index_loaded_cb(self, job, activity): |
260 | 264 | logging.error('__index_loaded_cb %s %s', job.__class__, dir(job)) |