From acb9dcf78fb998b78874299ebe6ce0d062004001 Mon Sep 17 00:00:00 2001 From: gc Date: Thu, 19 Jan 2006 21:55:29 +0000 Subject: [PATCH] seems that proc{} is less tolerant than Proc.new{} --- bin/booh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/booh b/bin/booh index eb26318..5b68c68 100755 --- 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] } -- 2.30.4