[gthumb] DateTimeOriginal not updated if Update comment date is set too



commit 42488bbac1c44d848308616c14cdfdc44441b33a
Author: Stefano Pettini <stefano pettini gmail com>
Date:   Sat Jun 19 15:31:21 2010 +0200

    DateTimeOriginal not updated if Update comment date is set too

 extensions/change_date/gth-change-date-task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/change_date/gth-change-date-task.c b/extensions/change_date/gth-change-date-task.c
index 4a73816..5c792a8 100644
--- a/extensions/change_date/gth-change-date-task.c
+++ b/extensions/change_date/gth-change-date-task.c
@@ -261,7 +261,7 @@ info_ready_cb (GList    *files,
 				if (self->priv->fields & GTH_CHANGE_COMMENT_DATE) {
 					set_date_metadata (file_data, "general::datetime", date_time, 0);
 				}
-				else if (self->priv->fields & GTH_CHANGE_EXIF_DATETIMEORIGINAL_TAG) {
+				if (self->priv->fields & GTH_CHANGE_EXIF_DATETIMEORIGINAL_TAG) {
 					set_date_metadata (file_data, "Exif::Photo::DateTimeOriginal", date_time, 0);
 				}
 			}



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