[gcompris/gcomprixogoo] Fixed algebra activity to report the level properly.



commit 5b4ee205b1ed6fc683987fb72848dfe21be15502
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Tue Feb 2 23:04:51 2010 +0100

    Fixed algebra activity to report the level properly.
    
    This fixes bug #608752

 src/algebra_by-activity/algebra.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/algebra_by-activity/algebra.c b/src/algebra_by-activity/algebra.c
index 294995d..df307c9 100644
--- a/src/algebra_by-activity/algebra.c
+++ b/src/algebra_by-activity/algebra.c
@@ -397,6 +397,9 @@ static void ask_for_ready()
 
   algebra_destroy_all_items();
 
+  gc_bar_set_level(gcomprisBoard);
+  gc_score_set(gcomprisBoard->sublevel);
+
   boardRootItem = \
     goo_canvas_group_new (goo_canvas_get_root_item(gcomprisBoard->canvas),
 			  NULL);



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