[gcompris/gcomprixogoo] Improved a little bit the layout in the penalty activity.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gcompris/gcomprixogoo] Improved a little bit the layout in the penalty activity.
- Date: Sat, 6 Feb 2010 16:58:34 +0000 (UTC)
commit 659ab65dd2383a29503bdd92e71bd2c0625b4d07
Author: Bruno Coudoin <bruno coudoin free fr>
Date: Sat Feb 6 12:08:28 2010 +0100
Improved a little bit the layout in the penalty activity.
src/penalty-activity/penalty.py | 5 ++++-
.../resources/penalty/penalty_bg.svgz | Bin 23277 -> 23331 bytes
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/penalty-activity/penalty.py b/src/penalty-activity/penalty.py
index 4eb12d2..480de3d 100644
--- a/src/penalty-activity/penalty.py
+++ b/src/penalty-activity/penalty.py
@@ -97,7 +97,8 @@ class Gcompris_penalty:
item = goocanvas.Svg(
parent = self.rootitem,
svg_handle = svghandle,
- svg_id = "#HELP"
+ svg_id = "#HELP",
+ autocrop = True
)
item.connect("button_press_event", self.help)
# This item is clickeable and it must be seen
@@ -195,6 +196,8 @@ class Gcompris_penalty:
def next_level(self):
+ self.help_item.props.visibility = goocanvas.ITEM_VISIBLE
+
# Set the level in the control bar
gcompris.bar_set_level(self.gcomprisBoard);
self.balloon.reset()
diff --git a/src/penalty-activity/resources/penalty/penalty_bg.svgz b/src/penalty-activity/resources/penalty/penalty_bg.svgz
index c3632b8..151904f 100644
Binary files a/src/penalty-activity/resources/penalty/penalty_bg.svgz and b/src/penalty-activity/resources/penalty/penalty_bg.svgz differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]