[epiphany] Copy all metadata when moving files



commit 6219f2b9e624ed32d5514906cb98cd94e3e16b2e
Author: William Jon McCann <william jon mccann gmail com>
Date:   Fri Jan 3 13:24:28 2014 -0500

    Copy all metadata when moving files

 lib/ephy-file-helpers.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index f81d7d3..c4b07fb 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -945,8 +945,8 @@ ephy_file_move_uri (const char *source_uri, const char *dest_uri)
        src = g_file_new_for_uri (source_uri);
        dest = g_file_new_for_uri (dest_uri);
 
-       ret = g_file_move (src, dest, G_FILE_COPY_OVERWRITE, NULL, NULL, NULL,
-                               NULL);
+       ret = g_file_move (src, dest, G_FILE_COPY_OVERWRITE | G_FILE_COPY_ALL_METADATA,
+                          NULL, NULL, NULL, NULL);
 
        if (ret == TRUE)
        {


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