GNOME Bugzilla – Bug 373557
duplicated sort functions, date sort improvement
Last modified: 2006-11-18 13:56:20 UTC
The comp_func* sorting functions are present in many gthumb files. They should be consolidated into a gth-sort-utils.c file in libgthumb. Also, I propose that the comp_func_time function be modified to use the Exif date, if present. If it isn't present, then it would use the filesystem modified date. Most people care more about the Exif date. This would require the Exif date to be added to the FileData structure. - Mike
On second thought, maybe the date-sort scheme should be controlled by a preference (filesystem date, or Exif datetime with fallback to filesystem date).
I have moved the basic sort routines to gth-sort-utils.c. No changes to date logic have been made yet. - Mike
I have added a separate sort by Exif DateTime tag mode. (Those with no DateTime tag have a time of "0", and are sorted by name.) To be committed shortly.