[GRASS-SVN] r37093 - grass/branches/develbranch_6/general/g.gui

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 10 06:02:13 EDT 2009


Author: hamish
Date: 2009-05-10 06:02:13 -0400 (Sun, 10 May 2009)
New Revision: 37093

Modified:
   grass/branches/develbranch_6/general/g.gui/main.c
Log:
The old d.m GUI is not available for WinGRASS

Modified: grass/branches/develbranch_6/general/g.gui/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.gui/main.c	2009-05-10 09:54:33 UTC (rev 37092)
+++ grass/branches/develbranch_6/general/g.gui/main.c	2009-05-10 10:02:13 UTC (rev 37093)
@@ -102,6 +102,9 @@
 
 
     if (strcmp(type->answer, "oldtcltk") == 0) {
+#ifdef __MINGW32__
+	G_fatal_error(_("The old d.m GUI is not available for WinGRASS"));
+#endif
 	sprintf(progname, "%s/etc/dm/d.m.tcl", G_gisbase());
 	if (rc_file->answer) {
 	    G_spawn(getenv("GRASS_WISH"), "d.m", progname, "-name", "d_m_tcl",



More information about the grass-commit mailing list