projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe9b8fc
)
Relocate the directory in which the lang file is installed
author
John Darrington
<john@darrington.wattle.id.au>
Mon, 9 Aug 2010 18:05:17 +0000
(20:05 +0200)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 11 Aug 2010 17:25:53 +0000
(10:25 -0700)
src/ui/gui/psppire-syntax-window.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-syntax-window.c
b/src/ui/gui/psppire-syntax-window.c
index f0a33dbf853e4ca5702d112203f3f7f8442d46b9..7c70cbcba80688be52e5e4fb8015b7a900d5dc0b 100644
(file)
--- a/
src/ui/gui/psppire-syntax-window.c
+++ b/
src/ui/gui/psppire-syntax-window.c
@@
-16,6
+16,8
@@
#include <config.h>
+#include "relocatable.h"
+
#include <gtk/gtksignal.h>
#include <gtk/gtkbox.h>
#include "executor.h"
@@
-115,7
+117,8
@@
psppire_syntax_window_class_init (PsppireSyntaxWindowClass *class)
int n = g_strv_length (existing_paths);
new_paths = g_realloc (new_paths, (n+1) * sizeof (*new_paths));
- new_paths[n] = g_strdup (PKGDATADIR);
+
+ new_paths[n] = g_strdup (relocate (PKGDATADIR));
new_paths[n+1] = NULL;
lm = gtk_source_language_manager_new ();