patches/gnome-panel-06-input-method-filter-keypress.diff
author mattman
Tue, 26 Aug 2008 12:25:29 +0000
changeset 13284 90971fd56c17
parent 8382 5340d1f7700f
child 16014 657275c2abd8
permissions -rw-r--r--
* patches/gnome-panel-07-restrict-app-launching.diff : Fix Bug:6740246, Custom launcher dialog not loading, should be checking if restriction of application launching is set on, of not allow all key files. * patches/gnome-panel-06-input-method-filter-keypress.diff : Re-Apply for latest tarball * patches/gnome-panel-03-concurrent-login.diff : Re-Apply for latest tarball * patches/gnome-panel-02-fish-applet.diff : Re-Apply for latest tarball * patches/gnome-panel-01-default-setup.diff : Re-Apply for latest tarball

--- gnome-panel-2.23.90.old/gnome-panel/panel-run-dialog.c	2008-08-26 11:46:53.053231000 +0100
+++ gnome-panel-2.23.90/gnome-panel/panel-run-dialog.c	2008-08-26 11:47:42.058768000 +0100
@@ -1434,6 +1434,12 @@
 	char             *temp;
 	int               pos, tmp;
 
+	/* commit the string when IM is enabled */
+	if (GTK_ENTRY (entry)->editable && event->type == GDK_KEY_PRESS && event->length > 0) {
+		if (gtk_im_context_filter_keypress (GTK_ENTRY (entry)->im_context, event))
+			return TRUE;
+	}
+
 	if (event->type != GDK_KEY_PRESS)
 		return FALSE;