[evolution/wip/webkit2] EHTMLEditorView - Print undo/redo operations if debug output is activated



commit 1ad033b382c3d4ce9a207b8a196eecdec6ef5e79
Author: Tomas Popela <tpopela redhat com>
Date:   Wed Apr 22 11:11:50 2015 +0200

    EHTMLEditorView - Print undo/redo operations if debug output is activated

 web-extensions/e-html-editor-undo-redo-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/web-extensions/e-html-editor-undo-redo-manager.c 
b/web-extensions/e-html-editor-undo-redo-manager.c
index d660509..d5874ab 100644
--- a/web-extensions/e-html-editor-undo-redo-manager.c
+++ b/web-extensions/e-html-editor-undo-redo-manager.c
@@ -1444,6 +1444,9 @@ e_html_editor_undo_redo_manager_insert_history_event (EHTMLEditorUndoRedoManager
        manager->priv->history_size++;
        manager->priv->can_undo = TRUE;
 
+       d (print_undo_events (manager));
+       d (print_redo_events (manager));
+
        g_object_notify (G_OBJECT (manager), "can-undo");
 }
 


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