]> www.fi.muni.cz Git - evince.git/commit
Move save a copy task to its own job so that it's carried out in a thread
authorCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 4 Sep 2007 15:25:46 +0000 (15:25 +0000)
committerCarlos Garcia Campos <carlosgc@src.gnome.org>
Tue, 4 Sep 2007 15:25:46 +0000 (15:25 +0000)
commitc8c1c1382641f6d97e7dabc4d3bec6ea88103947
tree2ad4aceca305bdef0b6dbed7ec82ae9303cacedb
parent1ee7fd467a6bcd1edefd6fedf4b0dd7e41d8125b
Move save a copy task to its own job so that it's carried out in a thread

2007-09-04  Carlos Garcia Campos  <carlosgc@gnome.org>
* shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked),
(no_jobs_available_unlocked), (ev_job_queue_init), (find_queue),
(ev_job_queue_remove_job):
* shell/ev-jobs.[ch]: (ev_job_save_init), (ev_job_save_dispose),
(ev_job_save_class_init), (ev_job_save_new), (ev_job_save_run):
* shell/ev-window.c: (ev_window_clear_save_job),
(ev_window_save_job_cb), (file_save_dialog_response_cb),
(ev_window_dispose):
Move save a copy task to its own job so that it's carried out in a
thread avoiding another lock in the main thread. Use
ev_xfer_uri_simple() instead of gnome_vfs_move() so that document
can be saved to a pathin another file system. Fixes bug #456891.

svn path=/trunk/; revision=2664
ChangeLog
shell/ev-job-queue.c
shell/ev-jobs.c
shell/ev-jobs.h
shell/ev-window.c