[evolution] Bug 767236 - quick correction spell check in context menu is gone
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 767236 - quick correction spell check in context menu is gone
- Date: Thu, 9 Jun 2016 08:32:48 +0000 (UTC)
commit 64039de15865ddd2cc4b5cb984780ac6f57c5574
Author: Tomas Popela <tpopela redhat com>
Date: Wed Jun 8 16:07:12 2016 +0200
Bug 767236 - quick correction spell check in context menu is gone
Actually this is a regression after commit d83a448, but we can skip the call
to the e_html_editor_selection_has_text and only operate on the current caret
word.
e-util/e-html-editor.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-html-editor.c b/e-util/e-html-editor.c
index 6c88119..90c8069 100644
--- a/e-util/e-html-editor.c
+++ b/e-util/e-html-editor.c
@@ -448,7 +448,7 @@ html_editor_update_actions (EHTMLEditor *editor,
/* Decide if we should show spell checking items. */
checker = WEBKIT_SPELL_CHECKER (webkit_get_text_checker ());
visible = FALSE;
- if ((n_languages > 0) && e_html_editor_selection_has_text (selection)) {
+ if (n_languages > 0) {
gchar *word = e_html_editor_selection_get_caret_word (selection);
if (word && *word) {
webkit_spell_checker_check_spelling_of_string (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]