gthumb r2272 - in trunk: . src



Author: mjc
Date: Thu Feb  7 19:19:41 2008
New Revision: 2272
URL: http://svn.gnome.org/viewvc/gthumb?rev=2272&view=rev

Log:
2008-02-07  Michael J. Chudobiak  <mjc svn gnome org>

        * src/gth-exif-data-viewer.c: (add_to_display):
        Do not display Makernotes if exiv2 has not assigned
        a meaningful name to them.


Modified:
   trunk/ChangeLog
   trunk/src/gth-exif-data-viewer.c

Modified: trunk/src/gth-exif-data-viewer.c
==============================================================================
--- trunk/src/gth-exif-data-viewer.c	(original)
+++ trunk/src/gth-exif-data-viewer.c	Thu Feb  7 19:19:41 2008
@@ -282,6 +282,11 @@
 add_to_display (GthMetadata       *entry,
 		GthExifDataViewer *edv)
 {
+	/* Skip entries that exiv2 does not know the purpose of.
+	   These entries have a numeric tag name assigned by exiv2. */
+	if (strstr (entry->full_name, ".0x") != NULL)
+		return;
+
 	add_to_exif_display_list (edv,
 		       		  entry->category,
 				  entry->full_name,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]