[evolution/wip/webkit2] EHTMLEditorView - Pasting content from message source into plain text composer preserves formatting



commit 4a0973f154ffc47431ed00930b7d3cd913855273
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Feb 26 11:37:42 2016 +0100

    EHTMLEditorView - Pasting content from message source into plain text composer preserves formatting

 e-util/e-html-editor-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor-view.c b/e-util/e-html-editor-view.c
index 0edcacc..05bdf2f 100644
--- a/e-util/e-html-editor-view.c
+++ b/e-util/e-html-editor-view.c
@@ -1685,7 +1685,7 @@ html_editor_view_owner_change_primary_cb (GtkClipboard *clipboard,
        if (!E_IS_HTML_EDITOR_VIEW (view))
                return;
 
-       if (!event->owner)
+       if (!event->owner || !view->priv->can_copy)
                view->priv->copy_paste_primary_in_view = FALSE;
        html_editor_update_pasting_content_from_itself (view);
 }


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