gtkhtml r9027 - branches/gnome-2-24/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r9027 - branches/gnome-2-24/components/editor
- Date: Tue, 14 Oct 2008 11:16:05 +0000 (UTC)
Author: mbarnes
Date: Tue Oct 14 11:16:05 2008
New Revision: 9027
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=9027&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:
branches/gnome-2-24/components/editor/ChangeLog
branches/gnome-2-24/components/editor/gtkhtml-editor-actions.c
Modified: branches/gnome-2-24/components/editor/gtkhtml-editor-actions.c
==============================================================================
--- branches/gnome-2-24/components/editor/gtkhtml-editor-actions.c (original)
+++ branches/gnome-2-24/components/editor/gtkhtml-editor-actions.c Tue Oct 14 11:16:05 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]