]> Dogcows Code - chaz/tint2/blobdiff - src/tint2conf/main.c
*fix* change the default location of tintwizard.py to ${CMAKE_INSTALL_PREFIX}/bin...
[chaz/tint2] / src / tint2conf / main.c
index 135b761f60bf4ef38f32a9540a268f4740acaa1d..617eed940c08f5e7ea446024f4f7f7e2bdb859ad 100644 (file)
 #include <glib/gstdio.h>
 #include <glib/gi18n.h>
 
-#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);
This page took 0.021537 seconds and 4 git commands to generate.