[GRASS-SVN] r43276 - grass/branches/develbranch_6/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 26 04:39:52 EDT 2010
Author: martinl
Date: 2010-08-26 08:39:52 +0000 (Thu, 26 Aug 2010)
New Revision: 43276
Modified:
grass/branches/develbranch_6/lib/gis/parser.c
Log:
wxGUI is default
Modified: grass/branches/develbranch_6/lib/gis/parser.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/parser.c 2010-08-26 08:36:53 UTC (rev 43275)
+++ grass/branches/develbranch_6/lib/gis/parser.c 2010-08-26 08:39:52 UTC (rev 43276)
@@ -2014,7 +2014,7 @@
Use G_gui_wx() or G_gui_tcltk() to generate GUI dialog.
- G_gui_tcltk() is called by default (if GRASS_GUI is not defined)
+ G_gui_wx() is called by default (if GRASS_GUI is not defined)
**/
static void G_gui(void)
{
@@ -2025,10 +2025,10 @@
gui = G_getenv("GRASS_GUI");
}
- if (gui && strcmp(gui, "wxpython") == 0)
+ if (gui && (strcmp(gui, "tcltk") == 0 || strcmp(gui, "oldtcltk") == 0))
+ G_gui_tcltk();
+ else
G_gui_wx();
- else
- G_gui_tcltk();
return;
}
More information about the grass-commit
mailing list