diff options
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index a691210..abf13c9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,12 @@ set_bundle_environment() const std::string pangorc_path(bundle_path + "/Resources/pangorc"); setenv("PANGO_RC_FILE", pangorc_path.c_str(), 1); + const char* path_c = getenv("PATH"); + std::string path = "/opt/local/bin"; + if (path_c) + path += std::string(":") + path_c; + setenv("PATH", path.c_str(), 1); + gtk_rc_parse((bundle_path + "/Resources/gtkrc").c_str()); } #endif |