exif is faster and more reliable
[booh] / bin / booh
index 26be6d96cb3a774c7ffd63bd97abe3f77e32682d..4cd0b3493cfa215944b7f250b309bae092293353 100755 (executable)
--- a/bin/booh
+++ b/bin/booh
@@ -857,7 +857,7 @@ def popup_thumbnail_menu(event, optionals, fullpath, type, xmldir, attributes_pr
             menu.append(exif = Gtk::ImageMenuItem.new(utf8(_("View EXIF data"))))
             exif.image = Gtk::Image.new("#{$FPATH}/images/stock-list-16.png")
             exif.signal_connect('activate') { show_popup($main_window,
-                                                         utf8(`identify -format "%[EXIF:*]" #{fullpath}`.sub(/MakerNote.*\n/, '')),
+                                                         utf8(`exif -m #{fullpath}`),
                                                          { :title => utf8(_("EXIF data of %s") % File.basename(fullpath)), :nomarkup => true, :scrolled => true }) }
             menu.append(Gtk::SeparatorMenuItem.new)
         end