X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftint2conf%2Fmain.c;h=617eed940c08f5e7ea446024f4f7f7e2bdb859ad;hb=7c0dfec2441c4a7da72150978425b6594a2b91a5;hp=135b761f60bf4ef38f32a9540a268f4740acaa1d;hpb=880f96997be8b3be10d609ed829abec96e5391b3;p=chaz%2Ftint2 diff --git a/src/tint2conf/main.c b/src/tint2conf/main.c index 135b761..617eed9 100644 --- a/src/tint2conf/main.c +++ b/src/tint2conf/main.c @@ -28,10 +28,8 @@ #include #include -#ifdef BUILD_CMAKE +#ifdef HAVE_VERSION_H #include "version.h" -#else - #include "../version.h" #endif #include "common.h" #include "theme_view.h" @@ -581,7 +579,7 @@ void read_config() } g_width = 500; g_height = 350; - g_cmd_property = g_strdup("python /usr/bin/tintwizard.py"); + g_cmd_property = g_strconcat( "python ", INSTALL_PREFIX, "/bin/tintwizard.py", (void*)0 ); // load config path = g_build_filename (g_get_user_config_dir(), "tint2", "tint2confrc", NULL);