[f-spot/fullfile-dupedetect: 1/3] Fix bad uri comparison in non-copy import.
- From: Ruben Vermeersch <rubenv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot/fullfile-dupedetect: 1/3] Fix bad uri comparison in non-copy import.
- Date: Wed, 9 Jun 2010 22:43:01 +0000 (UTC)
commit 75abf9a08456d8e9f612bcbf8ea61e32cccf57ac
Author: Ruben Vermeersch <ruben savanne be>
Date: Thu Jun 10 00:39:06 2010 +0200
Fix bad uri comparison in non-copy import.
src/Import/ImportController.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Import/ImportController.cs b/src/Import/ImportController.cs
index f36e05b..426016e 100644
--- a/src/Import/ImportController.cs
+++ b/src/Import/ImportController.cs
@@ -299,7 +299,7 @@ namespace FSpot.Import
}
// Copy into photo folder.
- if (item.DefaultVersion.Uri != destination) {
+ if (!item.DefaultVersion.Uri.Equals (destination)) {
var file = GLib.FileFactory.NewForUri (item.DefaultVersion.Uri);
var new_file = GLib.FileFactory.NewForUri (destination);
file.Copy (new_file, GLib.FileCopyFlags.AllMetadata, null, null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]