diff options
author | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-07-20 12:52:56 (GMT) |
---|---|---|
committer | Lucian Branescu Mihaila <lucian.branescu@gmail.com> | 2010-07-20 12:52:56 (GMT) |
commit | 420579b50ac59ee37bdad022b4e11badeba97e70 (patch) | |
tree | 73a3205172bb5944d013946078f26dd9f704505c /readtoolbar.py | |
parent | 7c186be9474877d5d930313521cc84580cbf8471 (diff) |
Re-enable search. Re-enable sniffing and setting screen DPI.
Diffstat (limited to 'readtoolbar.py')
-rw-r--r-- | readtoolbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/readtoolbar.py b/readtoolbar.py index a5d67ce..1c19b12 100644 --- a/readtoolbar.py +++ b/readtoolbar.py @@ -98,7 +98,7 @@ class EditToolbar(activity.EditToolbar): try: self._find_job = evince.JobFind(document=self._document, start_page=0, n_pages=self._document.get_n_pages(), text=text, case_sensitive=False) self._find_updated_handler = self._find_job.connect('updated', self._find_updated_cb) - evince.job_scheduler_push_job(self._find_job, evince.JOB_PRIORITY_NONE) + evince.Job.scheduler_push_job(self._find_job, evince.JOB_PRIORITY_NONE) except TypeError: self._find_job = epubadapter.JobFind(document=self._document, start_page=0, n_pages=self._document.get_n_pages(), text=text, case_sensitive=False) self._find_updated_handler = self._find_job.connect('updated', self._find_updated_cb) |