diff --git a/ChangeLog b/ChangeLog index 24eabdf415..c877931cb8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-10-31 Sven Neumann + + Bug 558660 – help behavior for locales without manual translation + + * app/widgets/gimphelp.c (gimp_help_user_manual_is_installed): + as a fallback check for the english user manual. + 2008-10-31 Sven Neumann * libgimp/gimpprocview.c: added basic gtk-doc comment for diff --git a/app/widgets/gimphelp.c b/app/widgets/gimphelp.c index 64bb1bc8db..bb7c5dcff5 100644 --- a/app/widgets/gimphelp.c +++ b/app/widgets/gimphelp.c @@ -171,6 +171,15 @@ gimp_help_user_manual_is_installed (Gimp *gimp) } g_free (locales); + + if (! found) + { + gchar *path = g_build_filename (basedir, "en", "gimp-help.xml", NULL); + + found = g_file_test (path, G_FILE_TEST_IS_REGULAR); + + g_free (path); + } } g_free (basedir);