浏览代码

libgis+g.gui: wxGUI moved to DISTDIR/gui

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60009 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 11 年之前
父节点
当前提交
f5edb1b9dc
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      general/g.gui/main.c
  2. 1 1
      lib/gis/parser.c

+ 1 - 1
general/g.gui/main.c

@@ -114,7 +114,7 @@ int main(int argc, char *argv[])
     G_message(_("Launching <%s> GUI in the background, please wait..."), type->answer);
 
     if (strcmp(type->answer, "wxpython") == 0) {
-	sprintf(progname, "%s/etc/gui/wxpython/wxgui.py", G_gisbase());
+	sprintf(progname, "%s/gui/wxpython/wxgui.py", G_gisbase());
 	if (rc_file->answer) {
 	    G_spawn_ex(getenv("GRASS_PYTHON"), getenv("GRASS_PYTHON"), progname,
 		    "--workspace", rc_file->answer, SF_BACKGROUND, NULL);

+ 1 - 1
lib/gis/parser.c

@@ -805,7 +805,7 @@ static void module_gui_wx(void)
     if (!st->pgm_path)
 	G_fatal_error(_("Unable to determine program name"));
 
-    sprintf(script, "%s/etc/gui/wxpython/gui_core/forms.py",
+    sprintf(script, "%s/gui/wxpython/gui_core/forms.py",
 	    getenv("GISBASE"));
     G_spawn(getenv("GRASS_PYTHON"), getenv("GRASS_PYTHON"), script, G_recreate_command(), NULL);
 }