changeset 4601:203741ac86b3

[gaim-migrate @ 4888] tony skuse (zeet) writes: " this is a simple (two lines) fix for the text replacement plugin (spellchk.so) to update its settings file (~/.gaim/dict) with each modification/deletion." committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 22 Feb 2003 17:31:59 +0000
parents 7b2c6b8a6a08
children 4128761bacb8
files plugins/spellchk.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/spellchk.c	Sat Feb 22 02:08:45 2003 +0000
+++ b/plugins/spellchk.c	Sat Feb 22 17:31:59 2003 +0000
@@ -266,6 +266,8 @@
 		-1);
 	gtk_editable_select_region(GTK_EDITABLE(bad_entry), 0, -1);
 	gtk_widget_grab_focus(bad_entry);
+
+	save_list();
 }
 
 static void add_selected_row_to_list(GtkTreeModel *model, GtkTreePath *path,
@@ -295,6 +297,8 @@
 
 	g_slist_foreach(list, remove_row, NULL);
 	g_slist_free(list);
+
+	save_list();
 }
 
 static void save_list()