xchat-gnome r2658 - in trunk: . src/fe-gnome



Author: chpe
Date: Sun Sep  7 14:01:59 2008
New Revision: 2658
URL: http://svn.gnome.org/viewvc/xchat-gnome?rev=2658&view=rev

Log:
	Bug 478936 â the language list is updated incorrectly

	* src/fe-gnome/preferences-page-spellcheck.c:
	(gconf_languages_changed): Correctly toggle the active state. Patch by
	Sebastien Bacher.

Modified:
   trunk/ChangeLog
   trunk/src/fe-gnome/preferences-page-spellcheck.c

Modified: trunk/src/fe-gnome/preferences-page-spellcheck.c
==============================================================================
--- trunk/src/fe-gnome/preferences-page-spellcheck.c	(original)
+++ trunk/src/fe-gnome/preferences-page-spellcheck.c	Sun Sep  7 14:01:59 2008
@@ -153,7 +153,7 @@
 				                    COL_LANG_CODE, &lang, -1);
 				active = sexy_spell_entry_language_is_active (SEXY_SPELL_ENTRY (gui.text_entry), lang);
 
-				gtk_list_store_set (store, &iter, COL_LANG_ACTIVATED, !active, -1);
+				gtk_list_store_set (store, &iter, COL_LANG_ACTIVATED, active, -1);
 			} while (gtk_tree_model_iter_next (GTK_TREE_MODEL (store), &iter));
 		}
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]