[gthumb] Use mtime to sort imported videos



commit 2f8eab3bbad49e67f4fc776d480f6e2338303d37
Author: Matthias Hawran <matthias hawran net>
Date:   Thu May 27 10:01:44 2010 +0200

    Use mtime to sort imported videos
    
    [bug #619758]

 extensions/importer/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/importer/utils.c b/extensions/importer/utils.c
index ab6bf19..48757d0 100644
--- a/extensions/importer/utils.c
+++ b/extensions/importer/utils.c
@@ -71,7 +71,7 @@ gth_import_utils_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_CURRENT_DATE;
+			g_file_info_get_modification_time (file_data->info, &timeval);
 	}
 
 	if (subfolder_type == GTH_SUBFOLDER_TYPE_CURRENT_DATE)



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