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