summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/about.c24
2 files changed, 28 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index be6933d..c261e06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-19 Lucas Rocha <lucasr@gnome.org>
+
+ * src/about.c (zenity_about): about dialog update.
+
2006-05-16 Lucas Rocha <lucasr@gnome.org>
* configure.in: post release version bump.
diff --git a/src/about.c b/src/about.c
index 9586d53..c78fe35 100644
--- a/src/about.c
+++ b/src/about.c
@@ -61,6 +61,20 @@ static const char *documenters[] = {
static gchar *translators;
+const char *license[] = {
+ N_("This program is free software; you can redistribute it and/or modify "
+ "it under the terms of the GNU General Public License as published by "
+ "the Free Software Foundation; either version 2 of the License, or "
+ "(at your option) any later version.\n"),
+ N_("This program is distributed in the hope that it will be useful, "
+ "but WITHOUT ANY WARRANTY; without even the implied warranty of "
+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
+ "GNU General Public License for more details.\n"),
+ N_("You should have received a copy of the GNU General Public License "
+ "along with this program; if not, write to the Free Software "
+ "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.")
+};
+
static gint
zenity_move_clothes_event (GnomeCanvasItem *item,
GdkEvent *event,
@@ -244,10 +258,15 @@ zenity_about (ZenityData *data)
{
GdkPixbuf *logo;
GtkWidget *help_button;
+ char *license_trans;
+
translators = _("translator-credits");
logo = gdk_pixbuf_new_from_file (ZENITY_IMAGE_FULLPATH ("zenity.png"), NULL);
+ license_trans = g_strconcat (_(license[0]), "\n", _(license[1]), "\n",
+ _(license[2]), "\n", NULL);
+
dialog = gtk_about_dialog_new ();
g_object_set (G_OBJECT (dialog),
@@ -258,8 +277,13 @@ zenity_about (ZenityData *data)
"authors", authors,
"documenters", documenters,
"translator-credits", translators,
+ "website", "http://live.gnome.org/Zenity",
"logo", logo,
+ "wrap-license", TRUE,
+ "license", license_trans,
NULL);
+
+ g_free (license_trans);
zenity_util_set_window_icon (dialog, NULL, ZENITY_IMAGE_FULLPATH ("zenity.png"));