13
0

unset GTK_RC_FILES to prevent the system from messing with a bundled install

git-svn-id: svn://localhost/ardour2/branches/3.0@8677 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-02 16:25:16 +00:00
parent 1b0b7849ee
commit 842be9287c

View File

@ -239,6 +239,11 @@ fixup_bundle_environment (int, char* [])
setenv ("GTK_PATH", path.c_str(), 1);
/* unset GTK_RC_FILES so that we only load the RC files that we define
*/
unsetenv ("GTK_RC_FILES");
if (!ARDOUR::translations_are_disabled ()) {
path = dir_path;
@ -432,6 +437,11 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
setenv ("GTK_PATH", path.c_str(), 1);
/* unset GTK_RC_FILES so that we only load the RC files that we define
*/
unsetenv ("GTK_RC_FILES");
if (!ARDOUR::translations_are_disabled ()) {
path = dir_path;
path += "/share/locale";