gtkhtml r8813 - trunk/components/editor



Author: mbarnes
Date: Sun Apr  6 17:16:45 2008
New Revision: 8813
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8813&view=rev

Log:
2008-04-06  Matthew Barnes  <mbarnes redhat com>

	** Fixes bug #321519

	* components/editor/gtkhtml-spell-dialog.c (spell_dialog_init):
	Activating a spelling suggestion now triggers the replace action.



Modified:
   trunk/components/editor/ChangeLog
   trunk/components/editor/gtkhtml-spell-dialog.c

Modified: trunk/components/editor/gtkhtml-spell-dialog.c
==============================================================================
--- trunk/components/editor/gtkhtml-spell-dialog.c	(original)
+++ trunk/components/editor/gtkhtml-spell-dialog.c	Sun Apr  6 17:16:45 2008
@@ -498,6 +498,9 @@
 	gtk_label_set_mnemonic_widget (
 		GTK_LABEL (dialog->priv->suggestion_label), widget);
 	g_signal_connect_swapped (
+		widget, "row-activated",
+		G_CALLBACK (spell_dialog_replace_cb), dialog);
+	g_signal_connect_swapped (
 		selection, "changed",
 		G_CALLBACK (spell_dialog_selection_changed_cb), dialog);
 	gtk_container_add (GTK_CONTAINER (container), widget);



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