[evolution/wip/tpopela/composer-dnd: 2/5] Print the history stack after removing item from it
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/tpopela/composer-dnd: 2/5] Print the history stack after removing item from it
- Date: Thu, 9 Mar 2017 14:50:36 +0000 (UTC)
commit 80cbf08ba8591342c9eaf3e6b2d8e2b4becaba9e
Author: Tomas Popela <tpopela redhat com>
Date: Thu Mar 9 11:10:11 2017 +0100
Print the history stack after removing item from it
If CAMEL_DEBUG=webkit is activated.
.../web-extension/e-editor-undo-redo-manager.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
b/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
index b774f49..51d1c8b 100644
--- a/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
+++ b/src/modules/webkit-editor/web-extension/e-editor-undo-redo-manager.c
@@ -2371,7 +2371,15 @@ e_editor_undo_redo_manager_remove_current_history_event (EEditorUndoRedoManager
if (!manager->priv->history)
return;
+ if (camel_debug ("webkit:undo")) {
+ printf ("\nREMOVING EVENT:\n");
+ print_history_event (manager->priv->history->data);
+ }
+
remove_history_event (manager, manager->priv->history);
+
+ if (camel_debug ("webkit:undo"))
+ print_history (manager);
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]