[GRASS-SVN] r45020 - grass/branches/releasebranch_6_4/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jan 13 15:31:46 EST 2011


Author: martinl
Date: 2011-01-13 12:31:45 -0800 (Thu, 13 Jan 2011)
New Revision: 45020

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
Log:
wxGUI: fix launching OnImport*
(merge r45018 from trunk)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2011-01-13 20:30:52 UTC (rev 45019)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2011-01-13 20:31:45 UTC (rev 45020)
@@ -1009,31 +1009,31 @@
         win.CentreOnScreen()
         win.Show()
         
-    def OnImportDxfFile(self, event):
+    def OnImportDxfFile(self, event, cmd = None):
         """!Convert multiple DXF layers to GRASS vector map layers"""
         dlg = gdialogs.DxfImportDialog(parent = self)
         dlg.CentreOnScreen()
         dlg.ShowModal()
 
-    def OnImportGdalLayers(self, event):
+    def OnImportGdalLayers(self, event, cmd = None):
         """!Convert multiple GDAL layers to GRASS raster map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self)
         dlg.CentreOnScreen()
         dlg.ShowModal()
 
-    def OnLinkGdalLayers(self, event):
+    def OnLinkGdalLayers(self, event, cmd = None):
         """!Link multiple GDAL layers to GRASS raster map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self, link = True)
         dlg.CentreOnScreen()
         dlg.ShowModal()
         
-    def OnImportOgrLayers(self, event):
+    def OnImportOgrLayers(self, event, cmd = None):
         """!Convert multiple OGR layers to GRASS vector map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self, ogr = True)
         dlg.CentreOnScreen()
         dlg.ShowModal()
         
-    def OnLinkOgrLayers(self, event):
+    def OnLinkOgrLayers(self, event, cmd = None):
         """!Links multiple OGR layers to GRASS vector map layers"""
         dlg = gdialogs.GdalImportDialog(parent = self, ogr = True, link = True)
         dlg.CentreOnScreen()



More information about the grass-commit mailing list