[f-spot] Set the attributes of copied files to Normal



commit 6de4615893dc7c581f99a556b84fc34f4cc23a7d
Author: Yann Leprince <sciyann free fr>
Date:   Sun Dec 20 13:42:44 2009 +0100

    Set the attributes of copied files to Normal
    
    fixes bgo#435242

 src/FileImportBackend.cs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/FileImportBackend.cs b/src/FileImportBackend.cs
index a83e7b4..5c3a04e 100644
--- a/src/FileImportBackend.cs
+++ b/src/FileImportBackend.cs
@@ -227,6 +227,7 @@ public class FileImportBackend : ImportBackend {
 				 	is_duplicate = true;
 			} else {
 				System.IO.File.Copy (info.OriginalPath, destination);
+				System.IO.File.SetAttributes (destination, System.IO.FileAttributes.Normal);
 				info.DestinationPath = destination;
 
 				if (detect_duplicates)



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