Re: [PATCH] About dialog shows unstable status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Mukund


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 18:57:07 -0000
@@ -27,11 +27,13 @@
   _("GNU Image Manipulation Program")
 
 #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 +45,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 18:57:07 -0000
@@ -93,6 +93,12 @@ about_dialog_create (GimpContext *contex
       GdkPixbuf *pixbuf;
       GList     *children;
 
+#ifdef GIMP_UNSTABLE
+      gchar       *comment = g_strconcat (GIMP_NAME, "\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,
+#ifdef GIMP_UNSTABLE
+                             "comments",           comment,
+#else
                              "comments",           GIMP_NAME,
+#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: This is a digitally signed message part

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

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux