From 3271c2a698a6d73052be2f349586f7f2bfcae38e Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sat, 22 Nov 2008 16:55:32 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20561899=20=E2=80=93=20GIMP=20can't=20save?= =?UTF-8?q?=20to=20mounted=20filesystem=20if=20file=20exists?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-11-22 Sven Neumann Bug 561899 – GIMP can't save to mounted filesystem if file exists * plug-ins/file-uri/uri-backend-gvfs.c (copy_uri): pass the G_FILE_COPY_OVERWRITE flag to g_file_copy(). svn path=/trunk/; revision=27709 --- ChangeLog | 7 +++++++ plug-ins/file-uri/uri-backend-gvfs.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b3be6c4a47..5cc08b41cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-22 Sven Neumann + + Bug 561899 – GIMP can't save to mounted filesystem if file exists + + * plug-ins/file-uri/uri-backend-gvfs.c (copy_uri): pass the + G_FILE_COPY_OVERWRITE flag to g_file_copy(). + 2008-11-21 Sven Neumann * app/tools/gimpdrawtool.[ch]: removed unused methods diff --git a/plug-ins/file-uri/uri-backend-gvfs.c b/plug-ins/file-uri/uri-backend-gvfs.c index f726875120..e75cf95531 100644 --- a/plug-ins/file-uri/uri-backend-gvfs.c +++ b/plug-ins/file-uri/uri-backend-gvfs.c @@ -298,7 +298,7 @@ copy_uri (const gchar *src_uri, progress.mode = mode; - success = g_file_copy (src_file, dest_file, 0, NULL, + success = g_file_copy (src_file, dest_file, G_FILE_COPY_OVERWRITE, NULL, uri_progress_callback, &progress, error);