[gaim-migrate @ 8960]

Thu, 12 Feb 2004 07:16:33 +0000

author
Nathan Fredrickson <nathan@silverorange.com>
date
Thu, 12 Feb 2004 07:16:33 +0000
changeset 8237
ad93c98bb387
parent 8236
2017f273c04b
child 8238
f7d22f952df5

[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: Mark Doliner <markdoliner@pidgin.im>

src/gtkconv.c file | annotate | diff | comparison | revisions
--- 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) ||

mercurial