Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Maemo: Commits

r13771 - in projects/haf/trunk/hildon-input-method-framework: . src

 

 

Maemo commits RSS feed   Index | Next | Previous | View Threaded


subversion at stage

Sep 12, 2007, 2:58 AM

Post #1 of 1 (82 views)
Permalink
r13771 - in projects/haf/trunk/hildon-input-method-framework: . src

Author: tjunnone
Date: 2007-09-12 12:58:46 +0300 (Wed, 12 Sep 2007)
New Revision: 13771

Modified:
projects/haf/trunk/hildon-input-method-framework/ChangeLog
projects/haf/trunk/hildon-input-method-framework/src/hildon-im-gtk.c
Log:
* src/hildon-im-gtk.c: Only consider mapped and visible widgets
as potential focus targets. Fixes NB#69237.



Modified: projects/haf/trunk/hildon-input-method-framework/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-input-method-framework/ChangeLog 2007-09-12 08:30:03 UTC (rev 13770)
+++ projects/haf/trunk/hildon-input-method-framework/ChangeLog 2007-09-12 09:58:46 UTC (rev 13771)
@@ -1,3 +1,8 @@
+2007-09-12 Tomas Junnonen <tomas.junnonen [at] nokia>
+
+ * src/hildon-im-gtk.c: Only consider mapped and visible widgets
+ as potential focus targets. Fixes NB#69237.
+
2007-09-10 Tomas Junnonen <tomas.junnonen [at] nokia>

* Version 1:1.99.20-1

Modified: projects/haf/trunk/hildon-input-method-framework/src/hildon-im-gtk.c
===================================================================
--- projects/haf/trunk/hildon-input-method-framework/src/hildon-im-gtk.c 2007-09-12 08:30:03 UTC (rev 13770)
+++ projects/haf/trunk/hildon-input-method-framework/src/hildon-im-gtk.c 2007-09-12 09:58:46 UTC (rev 13771)
@@ -109,8 +109,17 @@
}
else
{
- children = container_get_all_children(container);
- children = container_focus_sort(container, children, direction);
+ GList *all_children, *visible_children = NULL;
+
+ child = all_children = container_get_all_children(container);
+ while (child)
+ {
+ if (GTK_WIDGET_DRAWABLE (child->data))
+ visible_children = g_list_prepend(visible_children, child->data);
+ child = child->next;
+ }
+ children = container_focus_sort(container, visible_children, direction);
+ g_list_free(all_children);
}

if (old_focus_widget)

_______________________________________________
maemo-commits mailing list
maemo-commits [at] maemo
https://lists.maemo.org/mailman/listinfo/maemo-commits

Maemo commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.