gtkhtml r9026 - trunk/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r9026 - trunk/components/editor
- Date: Tue, 14 Oct 2008 11:14:52 +0000 (UTC)
Author: mbarnes
Date: Tue Oct 14 11:14:51 2008
New Revision: 9026
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=9026&view=rev
Log:
2008-10-14 Matthew Barnes <mbarnes redhat com>
** Fixes bug #556239
* gtkhtml-editor-actions.c (action_language_cb):
Recheck spelling when the language selection changes.
Modified:
trunk/components/editor/ChangeLog
trunk/components/editor/gtkhtml-editor-actions.c
Modified: trunk/components/editor/gtkhtml-editor-actions.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor-actions.c (original)
+++ trunk/components/editor/gtkhtml-editor-actions.c Tue Oct 14 11:14:51 2008
@@ -856,6 +856,7 @@
GtkhtmlSpellChecker *checker;
const gchar *language_code;
GtkAction *add_action;
+ GtkHTML *html;
GList *list;
guint length;
gchar *action_name;
@@ -897,6 +898,9 @@
gtk_action_set_visible (ACTION (CONTEXT_SPELL_IGNORE), length > 0);
gtk_action_set_sensitive (ACTION (SPELL_CHECK), length > 0);
+
+ html = gtkhtml_editor_get_html (editor);
+ html_engine_spell_check (html->engine);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]