pb.text = f
pb.fraction = i.to_f / current_order.size
Gtk.main_iteration while Gtk.events_pending?
- date_time = `identify -format "%[EXIF:DateTime]" '#{from_utf8($current_path + "/" + f)}'`.chomp
+ date_time = `identify -format "%[EXIF:DateTimeOriginal]" '#{from_utf8($current_path + "/" + f)}'`.chomp
if $? == 0 && date_time != ''
dates[f] = date_time
end