[gthumb] use the current date if the original date is not available



commit 9add62c94ee7770bcb34bbfdab5713fcbe6b4975
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Jan 7 20:46:31 2010 +0100

    use the current date if the original date is not available

 extensions/photo_importer/gth-import-task.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/photo_importer/gth-import-task.c b/extensions/photo_importer/gth-import-task.c
index 27dd57c..2c36e98 100644
--- a/extensions/photo_importer/gth-import-task.c
+++ b/extensions/photo_importer/gth-import-task.c
@@ -532,7 +532,7 @@ gth_import_task_get_file_destination (GthFileData        *file_data,
 		if (metadata != NULL)
 			_g_time_val_from_exif_date (gth_metadata_get_raw (metadata), &timeval);
 		else
-			subfolder_type = GTH_SUBFOLDER_TYPE_NONE;
+			subfolder_type = GTH_SUBFOLDER_TYPE_CURRENT_DATE;
 	}
 
 	if (subfolder_type == GTH_SUBFOLDER_TYPE_CURRENT_DATE)



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