Bug 558660 – help behavior for locales without manual translation

2008-10-31  Sven Neumann  <sven@gimp.org>

	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.


svn path=/trunk/; revision=27500
This commit is contained in:
Sven Neumann 2008-10-31 20:00:19 +00:00 committed by Sven Neumann
parent e76dd6cf60
commit 2fe030bd19
2 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-10-31 Sven Neumann <sven@gimp.org>
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 <sven@gimp.org>
* libgimp/gimpprocview.c: added basic gtk-doc comment for

View file

@ -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);