summaryrefslogtreecommitdiff
path: root/gtk2_ardour/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r--gtk2_ardour/main.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc
index a35cd1f3e7..0497bccb78 100644
--- a/gtk2_ardour/main.cc
+++ b/gtk2_ardour/main.cc
@@ -225,6 +225,19 @@ fixup_bundle_environment (int, char* [])
setenv ("ARDOUR_PANNER_PATH", path.c_str(), 1);
+ cstr = getenv ("ARDOUR_SURFACES_PATH");
+ if (cstr) {
+ path = cstr;
+ path += ':';
+ } else {
+ path = "";
+ }
+ path += dir_path;
+ path += "/lib/surfaces";
+
+ setenv ("ARDOUR_SURFACES_PATH", path.c_str(), 1);
+
+
path = dir_path;
path += "/../Frameworks/clearlooks";