[GRASS-SVN] r45979 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 14 17:43:25 EDT 2011


Author: martinl
Date: 2011-04-14 14:43:25 -0700 (Thu, 14 Apr 2011)
New Revision: 45979

Modified:
   grass/trunk/gui/wxpython/gui_modules/gdialogs.py
   grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py
Log:
wxGUI: fix typos in variable names


Modified: grass/trunk/gui/wxpython/gui_modules/gdialogs.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2011-04-14 15:24:21 UTC (rev 45978)
+++ grass/trunk/gui/wxpython/gui_modules/gdialogs.py	2011-04-14 21:43:25 UTC (rev 45979)
@@ -1244,7 +1244,7 @@
     def OnCmdDialog(self, event):
         """!Show command dialog"""
         name = self._getCommand()
-        menuform.GUI(parentframe = self, modal = True).ParseCommand(cmd = [name])
+        menuform.GUI(parent = self, modal = True).ParseCommand(cmd = [name])
                 
 class DxfImportDialog(ImportDialog):
     """!Dialog for bulk import of DXF layers""" 

Modified: grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py	2011-04-14 15:24:21 UTC (rev 45978)
+++ grass/trunk/gui/wxpython/gui_modules/mcalc_builder.py	2011-04-14 21:43:25 UTC (rev 45979)
@@ -566,8 +566,7 @@
             expr += '='
         expr += mctxt
         
-        menuform.GUI().ParseCommand(cmd = [self.cmd, 'expression=' + expr],
-                                    parentframe = self)
+        menuform.GUI(parent = self).ParseCommand(cmd = [self.cmd, 'expression=' + expr])
         
 if __name__ == "__main__":
     app = wx.App(0)



More information about the grass-commit mailing list