summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2012-10-08 18:55:32 +0000
committer~suv <suv-sf@users.sourceforge.net>2012-10-08 18:55:32 +0000
commit823318895dfecc05e8376e557543ea9e89c362b2 (patch)
treed8a7b66f0ede52e0bc5415eb103e7e89ea436953 /src/main.cpp
parentchanges_2012_10_04b.patch: fixes one small memory issue (bytes allocated and ... (diff)
parentGerman translation update 93% (diff)
downloadinkscape-823318895dfecc05e8376e557543ea9e89c362b2.tar.gz
inkscape-823318895dfecc05e8376e557543ea9e89c362b2.zip
merge from trunk (r11760)
(bzr r11668.1.25)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d1e087cac..578279929 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -625,6 +625,8 @@ main(int argc, char **argv)
bindtextdomain(GETTEXT_PACKAGE, BR_LOCALEDIR(""));
# else
bindtextdomain(GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
+ // needed by Python/Gettext
+ g_setenv("PACKAGE_LOCALE_DIR", PACKAGE_LOCALE_DIR, TRUE);
# endif
#endif