[gcompris/gcomprixogoo] Now hide the bar in shapegame activities when the focus is on the ok button for the title and info i
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Now hide the bar in shapegame activities when the focus is on the ok button for the title and info i
- Date: Tue, 3 Aug 2010 14:08:06 +0000 (UTC)
commit f6a0507964d7168a7e46cd67146f7e4f3f8ef72b
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Tue Aug 3 16:04:44 2010 +0200
Now hide the bar in shapegame activities when the focus is on the ok button
for the title and info items.
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 64e3bb2..ccbfd85 100644
--- a/src/babymatch-activity/shapegame.c
+++ b/src/babymatch-activity/shapegame.c
@@ -1281,6 +1281,7 @@ item_event_ok(GooCanvasItem *item, GooCanvasItem *target,
g_object_set (info_root_item, "visibility",
GOO_CANVAS_ITEM_VISIBLE, NULL);
goo_canvas_item_raise(info_root_item, NULL);
+ gc_bar_hide(TRUE);
}
case GDK_LEAVE_NOTIFY:
if(!strcmp(data, "title_lower"))
@@ -1288,6 +1289,7 @@ item_event_ok(GooCanvasItem *item, GooCanvasItem *target,
goo_canvas_item_lower(title_root_item, NULL);
g_object_set (info_root_item, "visibility",
GOO_CANVAS_ITEM_INVISIBLE, NULL);
+ gc_bar_hide(FALSE);
}
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]