changeset 1872:efc899af4912

[gaim-migrate @ 1882] waah committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 21 May 2001 17:38:20 +0000
parents 4836d30127df
children 08ac51210d09
files src/conversation.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Mon May 21 05:54:26 2001 +0000
+++ b/src/conversation.c	Mon May 21 17:38:20 2001 +0000
@@ -572,7 +572,7 @@
 		}
 	} else if ((event->keyval == GDK_F2) && (general_options & OPT_GEN_F2_TOGGLES)) {
 		gtk_imhtml_show_comments(GTK_IMHTML(c->text), !GTK_IMHTML(c->text)->comments);
-	} else if (event->keyval == GDK_Return) {
+	} else if ((event->keyval == GDK_Return) || (event->keyval == GDK_KP_Enter)) {
 		if ((event->state & GDK_CONTROL_MASK) && (general_options & OPT_GEN_CTL_ENTER)) {
 			gtk_signal_emit_by_name(GTK_OBJECT(entry), "activate", c);
 			gtk_signal_emit_stop_by_name(GTK_OBJECT(entry), "key_press_event");