From aba1a14ba28f6df51b3be15648b6f55eea4a0e19 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 1 Mar 2012 00:30:12 +0000 Subject: Updated the About dialog window with the name 'Chrysalide'. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@236 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 9 +++++++++ pixmaps/chrysalide_text.png | Bin 0 -> 11432 bytes pixmaps/chrysalide_text.xcf | Bin 0 -> 363832 bytes src/dialogs/about.c | 17 ++++++++--------- 4 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 pixmaps/chrysalide_text.png create mode 100644 pixmaps/chrysalide_text.xcf diff --git a/ChangeLog b/ChangeLog index 6e6735a..baea73c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +12-03-01 Cyrille Bagard + + * pixmaps/chrysalide_text.png: + * pixmaps/chrysalide_text.xcf: + New entries: create new pictures for the new name. + + * src/dialogs/about.c + Update the About dialog window with the name 'Chrysalide'. + 12-02-18 Cyrille Bagard * plugins/pyoida/debug/debugger.c: diff --git a/pixmaps/chrysalide_text.png b/pixmaps/chrysalide_text.png new file mode 100644 index 0000000..b4d8c78 Binary files /dev/null and b/pixmaps/chrysalide_text.png differ diff --git a/pixmaps/chrysalide_text.xcf b/pixmaps/chrysalide_text.xcf new file mode 100644 index 0000000..d9bfd5d Binary files /dev/null and b/pixmaps/chrysalide_text.xcf differ diff --git a/src/dialogs/about.c b/src/dialogs/about.c index bcc3edf..8773e31 100644 --- a/src/dialogs/about.c +++ b/src/dialogs/about.c @@ -28,16 +28,15 @@ #include +#include + + #include "../gtkext/easygtk.h" #include "../gtkext/support.h" #include "../../revision.h" -#define _(str) str - - - /****************************************************************************** * * * Paramètres : parent = fenêtre parente à surpasser. * @@ -86,16 +85,16 @@ GtkWidget *create_about_dialog(GtkWindow *parent) gtk_fixed_put(GTK_FIXED(fixed), image, 10, 10); gtk_widget_set_size_request(image, 330, 300); - filename = find_pixmap_file("openida_text.png"); + filename = find_pixmap_file("chrysalide_text.png"); image = qck_create_image(NULL, NULL, filename); - gtk_fixed_put(GTK_FIXED(fixed), image, 85, 330); - gtk_widget_set_size_request(image, 179, 36); + gtk_fixed_put(GTK_FIXED(fixed), image, 48, 324); + gtk_widget_set_size_request(image, 253, 42); /* Numéro de révision */ filename = find_pixmap_file("revision.png"); image = qck_create_image(NULL, NULL, filename); - gtk_fixed_put(GTK_FIXED(fixed), image, 172, 360); + gtk_fixed_put(GTK_FIXED(fixed), image, 149, 360); gtk_widget_set_size_request(image, 14, 18); revision = REVISION; @@ -109,7 +108,7 @@ GtkWidget *create_about_dialog(GtkWindow *parent) filename = find_pixmap_file(buffer); image = qck_create_image(NULL, NULL, filename); - gtk_fixed_put(GTK_FIXED(fixed), image, 186 + i * 14, 360); + gtk_fixed_put(GTK_FIXED(fixed), image, 163 + i * 14, 360); gtk_widget_set_size_request(image, 14, 18); revision %= level; -- cgit v0.11.2-87-g4458