[gcompris/gcomprixogoo] Fixed remanant focus on the ok button between 2 levels.



commit 2fb4d78ee2bba93fb46e8bbed671e1355412650f
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sun Dec 27 13:10:16 2009 +0100

    Fixed remanant focus on the ok button between 2 levels.

 src/babymatch-activity/shapegame.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/babymatch-activity/shapegame.c b/src/babymatch-activity/shapegame.c
index 565100b..32939e0 100644
--- a/src/babymatch-activity/shapegame.c
+++ b/src/babymatch-activity/shapegame.c
@@ -485,6 +485,8 @@ static void shapegame_destroy_all_items()
 {
   Shape *shape;
 
+  gc_item_focus_remove(continue_root_item, NULL);
+
   /* Cleanup of the shapes */
   while(g_list_length(shape_list)>0)
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]