29 lines
738 B
Diff
29 lines
738 B
Diff
|
revision 27500
|
|||
|
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.
|
|||
|
|
|||
|
Index: app/widgets/gimphelp.c
|
|||
|
===================================================================
|
|||
|
--- app/widgets/gimphelp.c (revision 27499)
|
|||
|
+++ app/widgets/gimphelp.c (revision 27500)
|
|||
|
@@ -171,6 +171,15 @@
|
|||
|
}
|
|||
|
|
|||
|
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);
|