[evolution/wip/tpopela/composer-dnd] Undo and redo buttons not active if switching from headers to editor
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/tpopela/composer-dnd] Undo and redo buttons not active if switching from headers to editor
- Date: Wed, 15 Mar 2017 12:56:23 +0000 (UTC)
commit c7adee2b319494509060497d33a8ea14db958066
Author: Tomas Popela <tpopela redhat com>
Date: Wed Mar 15 13:02:09 2017 +0100
Undo and redo buttons not active if switching from headers to editor
For example after opening a template, the recipient entry has focus
and the user will use the replace dialog to replace some content in
the editor. After he moves the focus to the editor, the undo and redo
buttons are not activated.
src/modules/webkit-editor/e-webkit-editor.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/modules/webkit-editor/e-webkit-editor.c b/src/modules/webkit-editor/e-webkit-editor.c
index c9d5bd7..473133f 100644
--- a/src/modules/webkit-editor/e-webkit-editor.c
+++ b/src/modules/webkit-editor/e-webkit-editor.c
@@ -389,6 +389,9 @@ web_extension_selection_changed_cb (GDBusConnection *connection,
}
g_free (font_color);
+ g_object_notify (G_OBJECT (wk_editor), "can-undo");
+ g_object_notify (G_OBJECT (wk_editor), "can-redo");
+
g_object_notify (G_OBJECT (wk_editor), "alignment");
g_object_notify (G_OBJECT (wk_editor), "block-format");
g_object_notify (G_OBJECT (wk_editor), "indented");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]