Mukund wrote:
> On Tue, 2006-07-18 at 19:58 +0100, Mukund wrote:
>> Patch is attached for a simple thing. Also adds some spacing to make the
>> text appear nicer. If you approve, I'll commit it.
> 
> Ugh.. that's GIMP_UNSTABLE.. not GUM_UNSTABLE in the patch.
> 
> Corrected patch is attached.
> 

With further input from Alan Horkan (idea to add descriptive comment)
and UnNamed (the actual text of comment), we have a new patch (attached).

This is how the about dialog looks like now:
http://www.mukund.org/temp/about-3.png


Index: app/about.h
===================================================================
RCS file: /cvs/gnome/gimp/app/about.h,v
retrieving revision 1.4
diff -u -p -r1.4 about.h
--- app/about.h	1 Mar 2006 08:06:08 -0000	1.4
+++ app/about.h	18 Jul 2006 23:20:49 -0000
@@ -26,12 +26,19 @@
 #define GIMP_NAME \
   _("GNU Image Manipulation Program")
 
+#define GIMP_DESCRIPTION \
+  _("GNU Image Manipulation Program can be used\n"                       \
+    "to create new graphics or edit existing ones\n"                     \
+    "like photographs."                                                  )
+
 #define GIMP_COPYRIGHT \
-  _("Copyright © 1995-2006\n" \
-    "Spencer Kimball, Peter Mattis and the GIMP Development Team")
+  _("Copyright © 1995-2006\n"         \
+    "Spencer Kimball, Peter Mattis\n" \
+    "and the GIMP Development Team")
 
 #define GIMP_LICENSE \
-  _("GIMP is free software; you can redistribute it and/or modify it "   \
+  _("\n"                                                                 \
+    "GIMP 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."                                \
@@ -43,7 +50,8 @@
     "\n\n"                                                               \
     "You should have received a copy of the GNU General Public License " \
     "along with GIMP; if not, write to the Free Software Foundation, "   \
-    "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.")
+    "Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA."     \
+    "\n\n"                                                               )
 
 
 #endif /* __ABOUT_H__ */
Index: app/dialogs/about-dialog.c
===================================================================
RCS file: /cvs/gnome/gimp/app/dialogs/about-dialog.c,v
retrieving revision 1.139
diff -u -p -r1.139 about-dialog.c
--- app/dialogs/about-dialog.c	20 Jun 2006 09:14:26 -0000	1.139
+++ app/dialogs/about-dialog.c	18 Jul 2006 23:20:50 -0000
@@ -93,6 +93,12 @@ about_dialog_create (GimpContext *contex
       GdkPixbuf *pixbuf;
       GList     *children;
 
+#ifdef GIMP_UNSTABLE
+      gchar       *comment = g_strconcat (GIMP_DESCRIPTION, "\n\n",
+                            _("This is an unstable development release."),
+                            "\n", NULL);
+#endif
+
       if (gimp_pdb_lookup_procedure (context->gimp->pdb, PDB_URL_LOAD))
         gtk_about_dialog_set_url_hook (about_dialog_load_url,
                                        g_object_ref (context),
@@ -110,7 +116,11 @@ about_dialog_create (GimpContext *contex
                              "name",               GIMP_ACRONYM,
                              "version",            GIMP_VERSION,
                              "copyright",          GIMP_COPYRIGHT,
-                             "comments",           GIMP_NAME,
+#ifdef GIMP_UNSTABLE
+                             "comments",           comment,
+#else
+                             "comments",           GIMP_DESCRIPTION,
+#endif
                              "license",            GIMP_LICENSE,
                              "wrap-license",       TRUE,
                              "logo",               pixbuf,
@@ -124,6 +134,10 @@ about_dialog_create (GimpContext *contex
                               */
                              "translator-credits", _("translator-credits"),
                              NULL);
+
+#ifdef GIMP_UNSTABLE
+      g_free (comment);
+#endif
 
       if (pixbuf)
         g_object_unref (pixbuf);

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to