[maemo-commits] [maemo-commits] r13703 - in projects/haf/trunk/hildon-input-method-framework: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 10 14:16:05 EEST 2007
Author: tjunnone
Date: 2007-09-10 14:16:03 +0300 (Mon, 10 Sep 2007)
New Revision: 13703

Modified:
   projects/haf/trunk/hildon-input-method-framework/ChangeLog
   projects/haf/trunk/hildon-input-method-framework/src/hildon-im-context.c
Log:
* src/hildon-im-context.c: Restrict override of tab focus target to GtkEntries


Modified: projects/haf/trunk/hildon-input-method-framework/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-input-method-framework/ChangeLog	2007-09-10 11:05:11 UTC (rev 13702)
+++ projects/haf/trunk/hildon-input-method-framework/ChangeLog	2007-09-10 11:16:03 UTC (rev 13703)
@@ -1,3 +1,7 @@
+2007-09-10  Tomas Junnonen  <tomas.junnonen at nokia.com>
+
+	* src/hildon-im-context.c: Restrict override of tab focus target to GtkEntries
+
 2007-09-10  Mohammad Anwari  <mohammad.anwari at nokia.com> 
 
 	* Version 1:1.99.19-1

Modified: projects/haf/trunk/hildon-input-method-framework/src/hildon-im-context.c
===================================================================
--- projects/haf/trunk/hildon-input-method-framework/src/hildon-im-context.c	2007-09-10 11:05:11 UTC (rev 13702)
+++ projects/haf/trunk/hildon-input-method-framework/src/hildon-im-context.c	2007-09-10 11:16:03 UTC (rev 13703)
@@ -1446,7 +1446,8 @@
     /* Stop both press and release events so they aren't sent to the application. */
     return TRUE;
   }
-  else if (event->keyval == GDK_Tab)
+  else if (event->keyval == GDK_Tab &&
+           GTK_IS_ENTRY(self->client_gtk_widget))
   {
     if (event->type == GDK_KEY_PRESS)
     {


More information about the maemo-commits mailing list