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