mirror of https://github.com/GNOME/gimp.git
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:
parent
e76dd6cf60
commit
2fe030bd19
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue