seems that proc{} is less tolerant than Proc.new{}
[booh] / bin / booh
index eb26318dd1198b269dac87e2faaedd2c29819d82..5b68c68e85cc0c5ecfba62c77dcb29d5e1e85201 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -707,7 +707,7 @@ def gen_real_thumbnail(type, origfile, destfile, xmldir, size, img, infotype)
 end
 
 def popup_thumbnail_menu(event, optionals, fullpath, type, xmldir, attributes_prefix, possible_actions, closures)
-    distribute_multiple_call = proc { |action, arg|
+    distribute_multiple_call = Proc.new { |action, arg|
         $selected_elements.each_key { |path|
             $name2widgets[path][:img].pixbuf = $selected_elements[path][:pixbuf]
         }