rpms/xchat/devel xchat-2.4.3-im_context_filter_keypress.patch, NONE, 1.1 xchat.spec, 1.35, 1.36

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon May 16 07:06:36 UTC 2005


Author: wtogami

Update of /cvs/dist/rpms/xchat/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25463

Modified Files:
	xchat.spec 
Added Files:
	xchat-2.4.3-im_context_filter_keypress.patch 
Log Message:
Prevent interception of down arrow during Input Method (#144588 tagoh)


xchat-2.4.3-im_context_filter_keypress.patch:
 fkeys.c |    5 +++++
 1 files changed, 5 insertions(+)

--- NEW FILE xchat-2.4.3-im_context_filter_keypress.patch ---
--- xchat-2.4.3/src/fe-gtk/fkeys.c.orig	2005-03-10 20:32:28.000000000 -1000
+++ xchat-2.4.3/src/fe-gtk/fkeys.c	2005-05-15 21:03:27.000000000 -1000
@@ -288,6 +288,11 @@
 				kb->next = keys_root;
 				keys_root = kb;
 			}
+			/* make sure this key event is filtered in the Input Method. */
+			if (gtk_im_context_filter_keypress (GTK_ENTRY (wid)->im_context, evt)) {
+				GTK_ENTRY (wid)->need_im_reset = TRUE;
+				return TRUE;
+			}
 			/* Run the function */
 			n = key_actions[kb->action].handler (wid, evt, kb->data1,
 															 kb->data2, sess);


Index: xchat.spec
===================================================================
RCS file: /cvs/dist/rpms/xchat/devel/xchat.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- xchat.spec	15 Apr 2005 05:51:49 -0000	1.35
+++ xchat.spec	16 May 2005 07:06:34 -0000	1.36
@@ -8,7 +8,7 @@
 Summary:   A popular and easy to use graphical IRC (chat) client
 Name:      xchat
 Version:   2.4.3
-Release:   2
+Release:   3
 Epoch:     1
 Group:     Applications/Internet
 License:   GPL
@@ -25,6 +25,7 @@
 Patch30: xchat-2.4.2-multiline-messages.patch
 Patch31: xchat-2.4.2-nickmenu-away-msg.patch
 Patch32: xchat-2.4.3-lib64.patch
+Patch33: xchat-2.4.3-im_context_filter_keypress.patch
 
 BuildRequires: perl python-devel openssl-devel pkgconfig
 # Added for bugzilla bug #91676 - ./configure indicates these versions or
@@ -52,6 +53,7 @@
 %patch30 -p1 -b .multiline-messages
 %patch31 -p0 -b .nickmenu-away-msg
 %patch32 -p1 -b .lib64
+%patch33 -p1 -b .im_context_filter_keypress
 
 %build
 # Remove CVS files from source dirs so they're not installed into doc dirs.
@@ -113,6 +115,9 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Sun May 15 2005 Warren Togami <wtogami at redhat.com> 1:2.4.3-3
+- Prevent interception of down arrow during Input Method (#144588 tagoh)
+
 * Thu Apr 14 2005 Warren Togami <wtogami at redhat.com> 1:2.4.3-2
 - fix plugins on lib64 (#113188 Ville Skytta)
 




More information about the fedora-cvs-commits mailing list