gimp/gimp-2.0.1-gimphelpmissing.patch
cvsdist be088325fd auto-import changelog data from gimp-2.0.1-6.src.rpm
Mon May 31 2004 Nils Philippsen <nphilipp@redhat.com>
- rebuild for Rawhide
Wed May 26 2004 Nils Philippsen <nphilipp@redhat.com>
- add libjpeg-devel to BuildRequires (#121236)
- spit out slightly more informative help message if gimp-help is missing
    (#124307)
2004-09-09 05:16:12 +00:00

28 lines
995 B
Diff

--- gimp-2.0.1/plug-ins/help/domain.c.gimphelpmissing 2004-03-18 13:18:12.000000000 +0100
+++ gimp-2.0.1/plug-ins/help/domain.c 2004-05-26 16:34:42.316069179 +0200
@@ -155,17 +155,20 @@
if (! domain_locale_parse (domain, locale, &error))
{
- const gchar *msg;
+ const gchar *msg, *msg2;
- if (error->code == G_FILE_ERROR_NOENT)
+ if (error->code == G_FILE_ERROR_NOENT) {
msg = _("The GIMP help files are not installed.");
- else
+ msg2 = _("Please install the gimp-help package to access GIMP help.");
+ } else {
msg = _("There is a problem with the GIMP help files.");
+ msg2 = _("Please check your installation.");
+ }
g_message ("%s\n\n%s\n\n%s",
msg,
error->message,
- _("Please check your installation."));
+ msg2);
g_error_free (error);
}