Revision: 1808
http://geeqie.svn.sourceforge.net/geeqie/?rev=1808&view=rev
Author: nadvornik
Date: 2009-07-28 22:14:26 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
do not process sidecar files in bar_gps
patch by Colin Clark
Modified Paths:
--------------
trunk/src/bar_gps.c
Modified: trunk/src/bar_gps.c
===================================================================
--- trunk/src/bar_gps.c 2009-07-28 22:03:54 UTC (rev 1807)
+++ trunk/src/bar_gps.c 2009-07-28 22:14:26 UTC (rev 1808)
@@ -227,7 +227,9 @@
{
fd = work->data;
pgd->selection_list = g_list_remove(pgd->selection_list,
work->data);
- if (fd != NULL)
+ /* If the file has a parent, it must be a sidecar file. Do not
process sidecar files
+ */
+ if (fd != NULL && fd->parent == NULL)
{
latitude = metadata_read_GPS_coord(fd,
"Xmp.exif.GPSLatitude", 1000);
longitude = metadata_read_GPS_coord(fd,
"Xmp.exif.GPSLongitude", 1000);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn