Blame SOURCES/0001-gnome-692552-don-t-complain-about-inability-to-copy-.patch

a29641
From 15e7b658315d0a9254e5c2ff7fcc1a15a15dceef Mon Sep 17 00:00:00 2001
a29641
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
a29641
Date: Fri, 9 Dec 2016 12:09:02 +0000
a29641
Subject: [PATCH] gnome#692552 don't complain about inability to copy metadata
a29641
a29641
related rhbz#1022649
a29641
a29641
nautilus just takes the view that copying metadata is a "nice to have",
a29641
but if it doesn't work it's not a hard error so just do that
a29641
---
a29641
 libview/ev-jobs.c | 6 ++++--
a29641
 1 file changed, 4 insertions(+), 2 deletions(-)
a29641
a29641
diff --git a/libview/ev-jobs.c b/libview/ev-jobs.c
a29641
index dea5aa4..f24808b 100644
a29641
--- a/libview/ev-jobs.c
a29641
+++ b/libview/ev-jobs.c
a29641
@@ -1574,8 +1574,10 @@ ev_job_save_run (EvJob *job)
a29641
 	ev_tmp_uri_unlink (local_uri);
a29641
 
a29641
         /* Copy the metadata from the original file */
a29641
-        if (!error)
a29641
-                ev_file_copy_metadata (job_save->document_uri, job_save->uri, &error);
a29641
+        if (!error) {
a29641
+                /* Ignore errors here. Failure to copy metadata is not a hard error */
a29641
+                ev_file_copy_metadata (job_save->document_uri, job_save->uri, NULL);
a29641
+        }
a29641
 
a29641
 	if (error) {
a29641
 		ev_job_failed_from_error (job, error);
a29641
-- 
a29641
2.9.3
a29641