tooltips.set_tip(evtbox, utf8(type == 'video' ? (_("%s (video - %s KB)") % [tipname, commify(file_size(fullpath)/1024)]) : tipname), nil)
frame2, textview = create_editzone($autotable_sw, 1, img)
- textview.buffer.text = utf8(caption)
+ textview.buffer.text = caption
textview.set_justification(Gtk::Justification::CENTER)
vbox = Gtk::VBox.new(false, 5)
#- element (image or video) of this album
dest_img = build_full_dest_filename(element.attributes['filename']).sub(/\.[^\.]+$/, '') + "-#{$default_size['thumbnails']}.jpg"
msg 3, "dest_img: #{dest_img}"
- add_thumbnail($autotable, element.attributes['filename'], element.name, dest_img, from_utf8(element.attributes['caption']))
+ add_thumbnail($autotable, element.attributes['filename'], element.name, dest_img, element.attributes['caption'])
total[element.name] += 1
end
if element.name == 'dir' && !element.attributes['deleted']