changeset 10234:d672afd04dcd

[gaim-migrate @ 11369] "text replacement cosmetic change," patch 705648 from Craig Slusher. This was submitted on 2003-03-18 and it still basically applies. Neat. "This just changes the way that the plugin reacts to the 'Add' button being clicked. After the replacement is placed into the list, the text boxes are cleared and the 'You type:' box gains focus" committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 22 Nov 2004 05:36:09 +0000
parents e8d62dc363c5
children 14dbb26ef738
files COPYRIGHT plugins/spellchk.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Mon Nov 22 05:10:00 2004 +0000
+++ b/COPYRIGHT	Mon Nov 22 05:36:09 2004 +0000
@@ -151,6 +151,7 @@
 Jim Seymour
 Joe Shaw
 John Silvestri
+Craig Slusher
 Alex Smith
 David Smock
 Phil Snowberger
--- a/plugins/spellchk.c	Mon Nov 22 05:10:00 2004 +0000
+++ b/plugins/spellchk.c	Mon Nov 22 05:36:09 2004 +0000
@@ -262,7 +262,8 @@
 		0, gtk_entry_get_text(GTK_ENTRY(bad_entry)),
 		1, gtk_entry_get_text(GTK_ENTRY(good_entry)),
 		-1);
-	gtk_editable_select_region(GTK_EDITABLE(bad_entry), 0, -1);
+	gtk_editable_delete_text(GTK_EDITABLE(bad_entry), 0, -1);
+	gtk_editable_delete_text(GTK_EDITABLE(good_entry), 0, -1);
 	gtk_widget_grab_focus(bad_entry);
 
 	save_list();