Mercurial > pidgin.yaz
diff plugins/spellchk.c @ 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 | f8e395a054e2 |
children | 8f2b74c5aa24 |
line wrap: on
line diff
--- 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();