f-spot r3853 - in trunk: . src



Author: sdelcroix
Date: Mon Apr 28 09:34:21 2008
New Revision: 3853
URL: http://svn.gnome.org/viewvc/f-spot?rev=3853&view=rev

Log:
2008-04-28  Stephane Delcroix  <sdelcroix novell com>

	* src/GPhotoCamera.cs: workaround to avoid crash on /special/ folder
	for some Nikon in ptp mode.


Modified:
   trunk/ChangeLog
   trunk/src/GPhotoCamera.cs

Modified: trunk/src/GPhotoCamera.cs
==============================================================================
--- trunk/src/GPhotoCamera.cs	(original)
+++ trunk/src/GPhotoCamera.cs	Mon Apr 28 09:34:21 2008
@@ -99,6 +99,10 @@
 	{
 		if (camera_fs == null) 
 			throw new InvalidOperationException ();
+
+		//workaround for nikon dslr in ptp mode
+		if (dir == "/special/")
+			return;
 		
 		//files
 		CameraList filelist = camera_fs.ListFiles(dir, context);



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