[gcompris] Added a cute background to hexagon.
- From: Bruno Coudoin <bcoudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcompris] Added a cute background to hexagon.
- Date: Tue, 4 Feb 2014 18:47:24 +0000 (UTC)
commit a774ddf2652a6eec3fbb9454d7a6498dd7aa4edc
Author: Bruno Coudoin <bruno coudoin gcompris net>
Date: Tue Feb 4 19:45:31 2014 +0100
Added a cute background to hexagon.
The background comes from openclipart.org.
src/hexagon-activity/hexagon.py | 3 ++-
src/hexagon-activity/resources/hexagon/Makefile.am | 1 +
.../resources/hexagon/background.svgz | Bin 0 -> 30333 bytes
3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/hexagon-activity/hexagon.py b/src/hexagon-activity/hexagon.py
index c8b82ad..72afc0c 100644
--- a/src/hexagon-activity/hexagon.py
+++ b/src/hexagon-activity/hexagon.py
@@ -45,7 +45,8 @@ class Gcompris_hexagon:
self.gcomprisBoard.sublevel=1
self.gcomprisBoard.number_of_sublevel=1
gcompris.bar_set(gcompris.BAR_LEVEL)
- gcompris.set_default_background(self.gcomprisBoard.canvas.get_root_item())
+ gcompris.set_background(self.gcomprisBoard.canvas.get_root_item(),
+ "hexagon/background.svgz")
gcompris.bar_set_level(self.gcomprisBoard)
gcompris.bar_location(-1, -1, 0.8)
self.set_level(1)
diff --git a/src/hexagon-activity/resources/hexagon/Makefile.am
b/src/hexagon-activity/resources/hexagon/Makefile.am
index f49ae9d..8c10eec 100644
--- a/src/hexagon-activity/resources/hexagon/Makefile.am
+++ b/src/hexagon-activity/resources/hexagon/Makefile.am
@@ -1,5 +1,6 @@
imgdir = $(pkgdatadir)/@PACKAGE_DATA_DIR@/hexagon
img_DATA = \
+ background.svgz \
strawberry.svg
EXTRA_DIST = $(img_DATA)
diff --git a/src/hexagon-activity/resources/hexagon/background.svgz
b/src/hexagon-activity/resources/hexagon/background.svgz
new file mode 100644
index 0000000..323bdfb
Binary files /dev/null and b/src/hexagon-activity/resources/hexagon/background.svgz differ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]