[evolution] EMailSignatureEditor - Undo and redo history is handled by EHTMLEditorView and not by WebKitWebView



commit 2c8ebd5d6fb5c1a15acb5ffcbb7ae7ed908011ea
Author: Tomas Popela <tpopela redhat com>
Date:   Tue May 3 14:46:31 2016 +0200

    EMailSignatureEditor - Undo and redo history is handled by EHTMLEditorView and not by WebKitWebView

 e-util/e-mail-signature-editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-mail-signature-editor.c b/e-util/e-mail-signature-editor.c
index 4d91694..ae67296 100644
--- a/e-util/e-mail-signature-editor.c
+++ b/e-util/e-mail-signature-editor.c
@@ -191,7 +191,7 @@ action_close_cb (GtkAction *action,
        editor = e_mail_signature_editor_get_editor (window);
        view = e_html_editor_get_view (editor);
 
-       something_changed |= webkit_web_view_can_undo (WEBKIT_WEB_VIEW (view));
+       something_changed |= e_html_editor_view_can_undo (view);
        something_changed |= (strcmp (signature_name, original_name) != 0);
 
        if (something_changed) {


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