]> Dogcows Code - chaz/tint2/blobdiff - src/tint2conf/main.c
update my contribution to the company
[chaz/tint2] / src / tint2conf / main.c
index 9c07ea35279f0915d6cd00acf0ef9cb637a328ca..66ac917f37bd88bf26d0199f775ebe1d5d126149 100644 (file)
@@ -2,7 +2,7 @@
 *
 * Tint2conf
 *
-* Copyright (C) 2009 Thierry lorthiois (lorthiois@bbsoft.fr)
+* Copyright (C) 2009 Thierry lorthiois (lorthiois@bbsoft.fr) from Omega distribution
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License version 2
@@ -164,11 +164,6 @@ int main (int argc, char ** argv)
        // load themes
        load_theme(g_theme_view);
 
-       /* temporaire !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-       GtkWidget *prop;
-       prop = create_properties();
-       gtk_window_present(GTK_WINDOW(prop));
-*/
        gtk_widget_show_all(g_window);
        gtk_main ();
        return 0;
@@ -340,12 +335,13 @@ static void menuProperties()
                prop = create_properties();
                gtk_window_present(GTK_WINDOW(prop));
                //printf("menuProperties : fin\n");
-*/
-
+//*/
+//*
                cmd = g_strdup_printf("%s \'%s\' &", g_cmd_property, file);
                printf("cmd %s\n", cmd);
                system(cmd);
                g_free(cmd);
+               //*/
                g_free(file);
                
        }
@@ -581,7 +577,7 @@ void read_config()
        }
        g_width = 500;
        g_height = 350;
-       g_cmd_property = g_strconcat( "python ", INSTALL_PREFIX, "/bin/tintwizard.py", (void*)0 );
+       g_cmd_property = g_strconcat( "/usr/bin/env 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.022429 seconds and 4 git commands to generate.