summaryrefslogtreecommitdiff
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
parentOkay, I'm a glory hunter. Seperate out the about dialog entries a little. (diff)
downloadzenity-9e7cbd647f75de9b974f4038be5f6135343cc44a.tar.gz
zenity-9e7cbd647f75de9b974f4038be5f6135343cc44a.tar.bz2
zenity-9e7cbd647f75de9b974f4038be5f6135343cc44a.zip
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.
-rw-r--r--ChangeLog5
-rw-r--r--data/Makefile.am3
-rw-r--r--data/sunglasses.pngbin0 -> 2721 bytes
-rw-r--r--src/about.c11
4 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index d00582f7..39ecb7b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2003-02-01 Glynn Foster <glynn.foster@sun.com>
+ * data/Makefile.am, data/sunglasses.png: Add new.
+ * src/about.c: Update coordinates.
+
+2003-02-01 Glynn Foster <glynn.foster@sun.com>
+
* src/about.c: Okay, I'm a glory hunter. Seperate out the
about dialog entries a little.
diff --git a/data/Makefile.am b/data/Makefile.am
index 232136b3..52cc60fe 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,7 +1,8 @@
clothesdir = $(datadir)/zenity/clothes
clothes_DATA = \
monk.png \
- gnome-tshirt.png
+ gnome-tshirt.png \
+ sunglasses.png
imagesdir = $(datadir)/zenity/
images_DATA = \
diff --git a/data/sunglasses.png b/data/sunglasses.png
new file mode 100644
index 00000000..c3036842
--- /dev/null
+++ b/data/sunglasses.png
Binary files differ
diff --git a/src/about.c b/src/about.c
index fa2ad27c..f3e8b9bc 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);
bgstack15