aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-27 19:55:06 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-27 19:55:06 +0800
commitaddf10a651ba9232e4ce33b3a0a009b9ad7c8b67 (patch)
tree432e76de50d8dd156850e0c1034ded91e9c70284
parent1c08d339b8e13ba210e39dede735422c7a34878d (diff)
downloadgsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.tar
gsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.tar.gz
gsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.tar.bz2
gsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.tar.lz
gsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.tar.xz
gsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.tar.zst
gsoc2013-evolution-addf10a651ba9232e4ce33b3a0a009b9ad7c8b67.zip
** Fix for bug #352941
svn path=/trunk/; revision=32679
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-util.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 28b93f2b1c..2e4c6130d4 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-27 Srinivasa Ragavan <sragavan@novell.com>
+
+ ** Fix for bug #352941
+
+ * e-util.c: (e_write_file_uri): Allow files to be overwritten.
+
2006-08-24 Tor Lillqvist <tml@novell.com>
* e-util.h: Include <cairo.h>, not <cairo/cairo.h>.
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 4f384bd657..d213296041 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -247,7 +247,7 @@ e_write_file_uri (const char *filename, const char *data)
GnomeVFSResult result;
GnomeVFSHandle *handle = NULL;
- result = gnome_vfs_create (&handle, filename, GNOME_VFS_OPEN_WRITE, TRUE, 0755);
+ result = gnome_vfs_create (&handle, filename, GNOME_VFS_OPEN_WRITE, FALSE, 0755);
if (result != GNOME_VFS_OK) {
g_warning ("Couldn't save item");
return 1;