Add patch for GNOME bug #772803 (Inline images cause busy loop on Reply in WebKitWebProcess)

This commit is contained in:
Milan Crha 2016-10-13 13:08:40 +02:00
parent 5e6effdfd8
commit 949618baa0
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From d74c18bcc12f056d98cc1fcdb90f4372015ebf0e Mon Sep 17 00:00:00 2001
From: Milan Crha <mcrha@redhat.com>
Date: Thu, 13 Oct 2016 13:00:36 +0200
Subject: [PATCH] Bug 772803 - Inline images cause busy loop on Reply in
WebKitWebProcess
---
src/modules/webkit-editor/web-extension/e-editor-dom-functions.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/webkit-editor/web-extension/e-editor-dom-functions.c b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
index c61d365..0e8da0d 100644
--- a/modules/webkit-editor/web-extension/e-editor-dom-functions.c
+++ b/modules/webkit-editor/web-extension/e-editor-dom-functions.c
@@ -8419,7 +8419,7 @@ change_cid_images_src_to_base64 (EEditorPage *editor_page)
list = webkit_dom_document_query_selector_all (
document, selector, NULL);
- for (jj = webkit_dom_node_list_get_length (list) - 1; jj--;) {
+ for (jj = webkit_dom_node_list_get_length (list); jj--;) {
WebKitDOMNode *node = webkit_dom_node_list_item (list, jj);
set_base64_to_element_attribute (
--
2.7.4

View File

@ -30,7 +30,7 @@
Name: evolution
Version: 3.22.1
Release: 1%{?dist}
Release: 2%{?dist}
Group: Applications/Productivity
Summary: Mail and calendar client for GNOME
License: GPLv2+ and GFDL
@ -46,6 +46,7 @@ Obsoletes: evolution-NetworkManager < %{last_evo_nm_version}
# RH bug #
#Patch01: evolution-3.17.1-doc-e-cell-renderer-color.patch
Patch01: evolution-3.22.1-inline-images-reply.patch
## Dependencies ###
@ -203,6 +204,7 @@ the functionality of the installed %{name} package.
%prep
%setup -q -n evolution-%{version}
#%patch01 -p1 -b .doc-e-cell-renderer-color
%patch01 -p1 -b .inline-images-reply
# Remove the welcome email from Novell
for inbox in mail/default/*/Inbox; do
@ -527,6 +529,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/installed-tests
%changelog
* Thu Oct 13 2016 Milan Crha <mcrha@redhat.com> - 3.22.1-2
- Add patch for GNOME bug #772803 (Inline images cause busy loop on Reply in WebKitWebProcess)
* Mon Oct 10 2016 Milan Crha <mcrha@redhat.com> - 3.22.1-1
- Update to 3.22.1