Przeglądaj źródła

wxGUI: revert https://trac.osgeo.org/grass/changeset/55395, it breaks the GUI

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@55682 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 lat temu
rodzic
commit
e92990aba0
1 zmienionych plików z 0 dodań i 12 usunięć
  1. 0 12
      gui/wxpython/lmgr/pyshell.py

+ 0 - 12
gui/wxpython/lmgr/pyshell.py

@@ -24,8 +24,6 @@ from wx.py.shell   import Shell as PyShell
 from wx.py.version import VERSION
 
 import grass.script as grass
-import grass.pygrass as pygrass
-import grass.pygrass.modules as pgmodules
 
 class PyShellWindow(wx.Panel):
     """!Python Shell Window"""
@@ -40,16 +38,6 @@ class PyShellWindow(wx.Panel):
         self.shell = PyShell(parent = self, id = wx.ID_ANY,
                              introText = self.intro,
                              locals={'grass': grass,
-                                     'pygrass': pygrass,
-                                     'r': pgmodules.shortcuts.raster,
-                                     'r3': pgmodules.shortcuts.raster3D,
-                                     'v': pgmodules.shortcuts.vector,
-                                     'i': pgmodules.shortcuts.imagery,
-                                     'db': pgmodules.shortcuts.database,
-                                     'g': pgmodules.shortcuts.general,
-                                     'ps': pgmodules.shortcuts.postscript,
-                                     't': pgmodules.shortcuts.temporal,
-                                     'giface': self.parent._giface,  # for experimetal reasons only
                                      'AddLayer': self.AddLayer})
         
         sys.displayhook = self._displayhook