[GRASS-SVN] r49757 -
grass/branches/develbranch_6/gui/wxpython/gmodeler
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Dec 14 18:28:22 EST 2011
Author: martinl
Date: 2011-12-14 15:28:21 -0800 (Wed, 14 Dec 2011)
New Revision: 49757
Modified:
grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py
Log:
wxGUI/modeler: minor fixes (import)
Modified: grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py 2011-12-14 23:27:50 UTC (rev 49756)
+++ grass/branches/develbranch_6/gui/wxpython/gmodeler/model.py 2011-12-14 23:28:21 UTC (rev 49757)
@@ -39,11 +39,12 @@
import wx
from wx.lib import ogl
-from core.globalvar import ETCWXDIR
+from core import globalvar
from core import utils
from core.gcmd import GMessage, GException, GError, RunCommand, EncodeString, GWarning
from core.settings import UserSettings
-from gui_core.forms import GUI
+from gui_core.forms import GUI, CmdPanel
+from gui_core.widgets import GNotebook
from grass.script import core as grass
from grass.script import task as gtask
@@ -224,7 +225,7 @@
Raise exception on error.
"""
- dtdFilename = os.path.join(ETCWXDIR, "xml", "grass-gxm.dtd")
+ dtdFilename = os.path.join(globalvar.ETCWXDIR, "xml", "grass-gxm.dtd")
# parse workspace file
try:
More information about the grass-commit
mailing list