always return TRUE if GIMP2_HELP_URI environment variable is set.

2008-07-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphelp.c (gimp_help_user_manual_is_installed):
	always return TRUE if GIMP2_HELP_URI environment variable is 
set.


svn path=/trunk/; revision=26069
This commit is contained in:
Sven Neumann 2008-07-05 12:11:35 +00:00 committed by Sven Neumann
parent e1e037ba61
commit 1e04306e45
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-07-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimphelp.c (gimp_help_user_manual_is_installed):
always return TRUE if GIMP2_HELP_URI environment variable is set.
2008-07-05 Sven Neumann <sven@gimp.org>
* app/dialogs/preferences-dialog.c

View File

@ -137,6 +137,10 @@ gimp_help_user_manual_is_installed (Gimp *gimp)
g_return_val_if_fail (GIMP_IS_GIMP (gimp), FALSE);
/* if GIMP2_HELP_URI is set, assume that the manual can be found there */
if (g_getenv ("GIMP2_HELP_URI"))
return TRUE;
basedir = gimp_help_get_user_manual_basedir ();
if (g_file_test (basedir, G_FILE_TEST_IS_DIR))