[evolution] 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] Undo and redo buttons not active if switching from headers to editor
- Date: Wed, 22 Mar 2017 14:25:44 +0000 (UTC)
commit 14080e5e6cb764ba63751fd97de46d24a8392cea
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 170d47c..053fc88 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]