Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Coudoin <bcoudoin@src.gnome.org>2006-10-31 20:10:19 (GMT)
committer Bruno Coudoin <bcoudoin@src.gnome.org>2006-10-31 20:10:19 (GMT)
commit1bfcf32d0a15eabf8c1a0baac9b64ab5f3d5c8d1 (patch)
tree6936f8dd03475fb872894a3d4de15f616d7523a9
parent951948e41a2eee759451a44e2db5b48818a1b893 (diff)
- Fixed unaligned in the main menu the strategy icon
-rw-r--r--ChangeLog7
-rw-r--r--boards/boardicons/strategy.pngbin20350 -> 3062 bytes
-rw-r--r--src/boards/menu2.c6
3 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 34d2133..07446d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-10-31 Bruno Coudoin
+ - Fixed unaligned in the main menu the strategy icon
+
+ * boards/boardicons/strategy.png:
+ * src/boards/menu2.c: (create_panel):
+
+2006-10-31 Bruno Coudoin
+
* src/gcompris/gcompris.c: (gc_locale_set): Fixed non relative call to bindtextdomain(). It was breaking translation with autopackage.
Need to be tested.
diff --git a/boards/boardicons/strategy.png b/boards/boardicons/strategy.png
index e8a7889..346fa11 100644
--- a/boards/boardicons/strategy.png
+++ b/boards/boardicons/strategy.png
Binary files differ
diff --git a/src/boards/menu2.c b/src/boards/menu2.c
index 5a253dc..fe9355f 100644
--- a/src/boards/menu2.c
+++ b/src/boards/menu2.c
@@ -91,9 +91,9 @@ static double icon_size, icon_size_panel, icon_size_top, top_arrow_size;
static gdouble get_ratio(GdkPixbuf *pixmap, gdouble size);
-#define P_X 10
+#define P_X 0
#define P_Y 10
-#define P_W 90
+#define P_W 80
#define P_H 480
#define T_X 175
@@ -315,7 +315,7 @@ static void create_panel(GnomeCanvasGroup *parent)
"height", (gdouble) gdk_pixbuf_get_height(pixmap)*ratio,
"width-set", TRUE,
"height-set", TRUE,
- "anchor", GTK_ANCHOR_NORTH,
+ "anchor", GTK_ANCHOR_NW,
NULL);
gdk_pixbuf_unref(pixmap);