summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-02-01 12:13:25 +0000
committerGlynn Foster <gman@src.gnome.org>2003-02-01 12:13:25 +0000
commit9e7cbd647f75de9b974f4038be5f6135343cc44a (patch)
tree85f65c8b265b3a431c9da4b56fb352881a80a301 /src
parent8f85e68421d1d16c32aad96151dab2ac52108949 (diff)
Add new. Update coordinates.
2003-02-01 Glynn Foster <glynn.foster@sun.com> * data/Makefile.am, data/sunglasses.png: Add new. * src/about.c: Update coordinates.
Diffstat (limited to 'src')
-rw-r--r--src/about.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/about.c b/src/about.c
index fa2ad27..f3e8b9b 100644
--- a/src/about.c
+++ b/src/about.c
@@ -35,8 +35,8 @@
#define ZENITY_HELP_PATH ZENITY_DATADIR "/help/"
#define ZENITY_CLOTHES_PATH ZENITY_DATADIR "/clothes/"
-#define ZENITY_CANVAS_X 580.0
-#define ZENITY_CANVAS_Y 400.0
+#define ZENITY_CANVAS_X 400.0
+#define ZENITY_CANVAS_Y 280.0
static GtkWidget *dialog;
static GtkWidget *cred_dialog;
@@ -149,7 +149,8 @@ typedef struct
} MonkClothes;
static MonkClothes monk_clothes[] = {
- {"gnome-tshirt.png", 10.0, 10.0}
+ {"gnome-tshirt.png", 30.0, ZENITY_CANVAS_Y - 150.0},
+ {"sunglasses.png", ZENITY_CANVAS_X - 100.0 , ZENITY_CANVAS_Y - 150.0 }
};
static void
@@ -201,8 +202,8 @@ zenity_create_monk (void)
canvas_item = gnome_canvas_item_new (GNOME_CANVAS_GROUP (GNOME_CANVAS (canvas_board)->root),
gnome_canvas_pixbuf_get_type (),
- "x", (ZENITY_CANVAS_X / 2.0)/2.0 + 20.0,
- "y", (ZENITY_CANVAS_Y / 2.0)/2.0 - 10.0,
+ "x", (ZENITY_CANVAS_X / 2.0)/2.0 + 10.0,
+ "y", (ZENITY_CANVAS_Y / 2.0)/2.0 - 50.0,
"pixbuf", pixbuf,
"anchor", GTK_ANCHOR_NW,
NULL);