Index: thunar-vfs/thunar-vfs-job.c =================================================================== --- thunar-vfs/thunar-vfs-job.c (revision 21117) +++ thunar-vfs/thunar-vfs-job.c (working copy) @@ -258,13 +258,14 @@ g_object_ref (G_OBJECT (job)); /* allocate a main loop for this job */ - job->priv->loop = g_main_loop_new (NULL, FALSE); + job->priv->loop = g_main_loop_new (NULL, TRUE); /* schedule a thread to handle the job */ g_thread_pool_push (job_pool, job, NULL); /* wait for the job to finish */ - g_main_loop_run (job->priv->loop); + if (g_main_loop_is_running (job->priv->loop)) + g_main_loop_run (job->priv->loop); /* emit the "finished" signal */ g_signal_emit (G_OBJECT (job), job_signals[FINISHED], 0);