gtranslator r3742 - trunk/src



Author: icq
Date: Mon Sep 22 09:46:09 2008
New Revision: 3742
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3742&view=rev

Log:
2008-08-28  Ignacio Casal Quinteiro  <nacho resa gmail com>

	* Makefile.am:
	* utils.c (gtranslator_utils_help_display):
	Added DATADIR variable.

Modified:
   trunk/src/ChangeLog
   trunk/src/Makefile.am
   trunk/src/utils.c

Modified: trunk/src/Makefile.am
==============================================================================
--- trunk/src/Makefile.am	(original)
+++ trunk/src/Makefile.am	Mon Sep 22 09:46:09 2008
@@ -21,6 +21,7 @@
 	-DPREFIX=\""$(prefix)"\"                                \
 	-DSYSCONFDIR=\""$(sysconfdir)"\"                        \
 	-DPKGDATADIR=\""$(pkgdatadir)"\"                        \
+	-DDATADIR=\""$(datadir)"\"                              \
 	-DLIBDIR=\""$(libdir)"\"                                \
 	$(GTRANSLATOR_CFLAGS)                                   \
 	$(GTKSPELL_CFLAGS)                                      \

Modified: trunk/src/utils.c
==============================================================================
--- trunk/src/utils.c	(original)
+++ trunk/src/utils.c	Mon Sep 22 09:46:09 2008
@@ -760,7 +760,7 @@
 		if (strchr (lang, '.'))
 			continue;
 
-		uri = g_build_filename (PKGDATADIR, "/gnome/help/", doc_id,
+		uri = g_build_filename (DATADIR, "/gnome/help/", doc_id,
 					lang, file_name, NULL);
 
 		if (g_file_test (uri, G_FILE_TEST_EXISTS)) {



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