gthumb r2274 - in branches/gthumb-2-10: . libgthumb



Author: mjc
Date: Sat Feb  9 13:01:47 2008
New Revision: 2274
URL: http://svn.gnome.org/viewvc/gthumb?rev=2274&view=rev

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

        * NEWS:
        * libgthumb/gth-exif-utils.c: (get_exif_time):
        Fixed bug #507790. Sort by DateTimeOriginal instead of DateTime.



Modified:
   branches/gthumb-2-10/ChangeLog
   branches/gthumb-2-10/NEWS
   branches/gthumb-2-10/libgthumb/gth-exif-utils.c

Modified: branches/gthumb-2-10/NEWS
==============================================================================
--- branches/gthumb-2-10/NEWS	(original)
+++ branches/gthumb-2-10/NEWS	Sat Feb  9 13:01:47 2008
@@ -6,6 +6,7 @@
 	* Fixed bug #510521 - Canceling Save stops movement between pictures
 	* Fixed bug #477285 - Hitting enter in Open Location Dialog while 
 	  text entry is focused does nothing
+	* Fixed bug #507790. Sort by DateTimeOriginal instead of DateTime.
 
 version 2.10.8
 --------------

Modified: branches/gthumb-2-10/libgthumb/gth-exif-utils.c
==============================================================================
--- branches/gthumb-2-10/libgthumb/gth-exif-utils.c	(original)
+++ branches/gthumb-2-10/libgthumb/gth-exif-utils.c	Sat Feb  9 13:01:47 2008
@@ -195,16 +195,16 @@
 	if (local_file == NULL)
                 return (time_t) 0;
 
-        gth_minimal_exif_tag_read (local_file, EXIF_TAG_DATE_TIME, date_string, 20);
+        gth_minimal_exif_tag_read (local_file, EXIF_TAG_DATE_TIME_ORIGINAL, date_string, 20);
 	time = exif_string_to_time_t (date_string);
 
 	if (time <= (time_t) 0) {
-		gth_minimal_exif_tag_read (local_file, EXIF_TAG_DATE_TIME_ORIGINAL, date_string, 20);
+		gth_minimal_exif_tag_read (local_file, EXIF_TAG_DATE_TIME_DIGITIZED, date_string, 20);
 		time = exif_string_to_time_t (date_string);
 	}
 
 	if (time <= (time_t) 0) {
-		gth_minimal_exif_tag_read (local_file, EXIF_TAG_DATE_TIME_DIGITIZED, date_string, 20);
+		gth_minimal_exif_tag_read (local_file, EXIF_TAG_DATE_TIME, date_string, 20);
 		time = exif_string_to_time_t (date_string);
 	}
 



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