gimp r27500 - in trunk: . app/widgets



Author: neo
Date: Fri Oct 31 20:00:19 2008
New Revision: 27500
URL: http://svn.gnome.org/viewvc/gimp?rev=27500&view=rev

Log:
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.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimphelp.c

Modified: trunk/app/widgets/gimphelp.c
==============================================================================
--- trunk/app/widgets/gimphelp.c	(original)
+++ trunk/app/widgets/gimphelp.c	Fri Oct 31 20:00:19 2008
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]