[GRASS-SVN] r30279 - grass/branches/releasebranch_6_3/general/g.gui
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 21 11:05:38 EST 2008
Author: martinl
Date: 2008-02-21 11:05:37 -0500 (Thu, 21 Feb 2008)
New Revision: 30279
Modified:
grass/branches/releasebranch_6_3/general/g.gui/main.c
Log:
g.gui: do not use wxgui script to start wxGUI, http://lists.osgeo.org/pipermail/grass-dev/2008-February/035762.html (backported from trunk)
Modified: grass/branches/releasebranch_6_3/general/g.gui/main.c
===================================================================
--- grass/branches/releasebranch_6_3/general/g.gui/main.c 2008-02-21 15:56:20 UTC (rev 30278)
+++ grass/branches/releasebranch_6_3/general/g.gui/main.c 2008-02-21 16:05:37 UTC (rev 30279)
@@ -90,12 +90,12 @@
}
}
else if (strcmp(type->answer, "wxpython") == 0) {
- sprintf (progname, "%s/etc/wxpython/scripts/wxgui", G_gisbase());
+ sprintf (progname, "%s/etc/wxpython/wxgui.py", G_gisbase());
if (rc_file->answer) {
- G_spawn(progname, "wxgui", rc_file->answer, NULL);
+ G_spawn("python", "wxgui", progname, "--workspace", rc_file->answer, NULL);
}
else {
- G_spawn(progname, "wxgui", NULL);
+ G_spawn("python", "wxgui", progname, NULL);
}
}
More information about the grass-commit
mailing list