CVS: sylpheedclaws/sylpheed-claws/src/gtk gtkaspell.c,1.9.2.45,1.9.2.46

[email protected] Thu, 21 Dec 2006 08:30:07 +0000
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/gtk
In directory sunsite.dk:/tmp/cvs-serv2858/src/gtk

Modified Files:
      Tag: gtk2
	gtkaspell.c 
Log Message:
2006-12-21 [wwp]	2.6.1cvs62

	* src/gtk/gtkaspell.c
		Apply recheck_when_changing_dict (highlight all mispelled words)
		when switching to alternate dictionary.

Index: gtkaspell.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/gtk/gtkaspell.c,v
retrieving revision 1.9.2.45
retrieving revision 1.9.2.46
diff -u -d -r1.9.2.45 -r1.9.2.46
--- gtkaspell.c	2006/12/21 08:15:41	1.9.2.45
+++ gtkaspell.c	2006/12/21 08:29:58	1.9.2.46
@@ -2344,6 +2344,9 @@
 {
 	GtkAspell *gtkaspell = (GtkAspell *) data;
 	use_alternate_dict(gtkaspell);
+	if (gtkaspell->recheck_when_changing_dict) {
+		gtkaspell_highlight_all(gtkaspell);
+	}
 	if (gtkaspell->menu_changed_cb)
 		gtkaspell->menu_changed_cb(gtkaspell->menu_changed_data);
 }