[f-spot/FSPOT_0_6_0_STABLE] Set the attributes of copied files to Normal
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot/FSPOT_0_6_0_STABLE] Set the attributes of copied files to Normal
- Date: Sun, 20 Dec 2009 12:44:04 +0000 (UTC)
commit 8679939c0b4a030e76290e9c52506aba1a56f07e
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 8588b28..713ac90 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]