changeset 8237:9200bee593e8

[gaim-migrate @ 8960] Nathan Fredrickson writes, Now the context menu cannot be opened with Shift-F10. The attached patch fixes this and still allows for starting sentences with capital letters. Thanks Nathan! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 12 Feb 2004 07:16:33 +0000
parents a8431dd66cc5
children 32625c0dbba6
files src/gtkconv.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Thu Feb 12 05:56:16 2004 +0000
+++ b/src/gtkconv.c	Thu Feb 12 07:16:33 2004 +0000
@@ -1640,7 +1640,12 @@
 {
 	GaimGtkConversation *gtkconv = data;
 
+	/* If we have a valid key for the conversation display, then exit */
 	if ((event->state & GDK_CONTROL_MASK) ||
+		(event->keyval == GDK_F10) ||
+		(event->keyval == GDK_Shift_L) ||
+		(event->keyval == GDK_Shift_R) ||
+		(event->keyval == GDK_Escape) ||
 		(event->keyval == GDK_Up) ||
 		(event->keyval == GDK_Down) ||
 		(event->keyval == GDK_Left) ||