booh: some more synchronization needed (synchronizing toplevel rexml document does...
authorGuillaume Cottenceau <gcottenc@gmail.com>
Sun, 14 Dec 2008 15:17:53 +0000 (16:17 +0100)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Sun, 14 Dec 2008 15:17:53 +0000 (16:17 +0100)
bin/booh

index 662d69aae477c7a6c37c71e89c49b951d5624607..040dd593705176c189950819318504f32220fa9d 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -849,7 +849,7 @@ end
 def gen_real_thumbnail(type, origfile, destfile, xmldir, size, img, infotype)
     Thread.new {
         push_mousecursor_wait
-        gen_real_thumbnail_core(type, origfile, destfile, xmldir, size, infotype)
+        gen_real_thumbnail_core(type, origfile, destfile, Synchronizator.new(xmldir, $xmlaccesslock), size, infotype)
         gtk_thread_protect {
             img.set(destfile)
             $modified_pixbufs[destfile] = { :orig => img.pixbuf, :pixbuf => img.pixbuf, :angle_to_orig => 0 }