[evolution] I#975 - Composer: Some user options not propagated to the WebProcess
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#975 - Composer: Some user options not propagated to the WebProcess
- Date: Mon, 8 Jun 2020 07:14:44 +0000 (UTC)
commit 44be75076dc5f0845918bbe18aae98fbe48fc8a2
Author: Milan Crha <mcrha redhat com>
Date: Mon Jun 8 09:17:32 2020 +0200
I#975 - Composer: Some user options not propagated to the WebProcess
Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/975
src/modules/webkit-editor/e-webkit-editor.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/src/modules/webkit-editor/e-webkit-editor.c b/src/modules/webkit-editor/e-webkit-editor.c
index 0ebbffd8e9..71bfce1777 100644
--- a/src/modules/webkit-editor/e-webkit-editor.c
+++ b/src/modules/webkit-editor/e-webkit-editor.c
@@ -4847,8 +4847,18 @@ webkit_editor_load_changed_cb (EWebKitEditor *wk_editor,
return;
e_web_view_jsc_run_script (WEBKIT_WEB_VIEW (wk_editor), wk_editor->priv->cancellable,
- "EvoEditor.START_BOTTOM = %x;",
- e_webkit_editor_three_state_to_bool (wk_editor->priv->start_bottom,
"composer-reply-start-bottom"));
+ "EvoEditor.NORMAL_PARAGRAPH_WIDTH = %d;"
+ "EvoEditor.START_BOTTOM = %x;"
+ "EvoEditor.MAGIC_LINKS = %x;"
+ "EvoEditor.MAGIC_SMILEYS = %x;"
+ "EvoEditor.UNICODE_SMILEYS = %x;"
+ "EvoEditor.WRAP_QUOTED_TEXT_IN_REPLIES = %x;",
+ wk_editor->priv->normal_paragraph_width,
+ e_webkit_editor_three_state_to_bool (wk_editor->priv->start_bottom,
"composer-reply-start-bottom"),
+ wk_editor->priv->magic_links,
+ wk_editor->priv->magic_smileys,
+ wk_editor->priv->unicode_smileys,
+ wk_editor->priv->wrap_quoted_text_in_replies);
/* Dispatch queued operations - as we are using this just for load
* operations load just the latest request and throw away the rest. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]