[GRASS-SVN] r44206 - in grass/branches/develbranch_6/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 7 04:29:26 EST 2010


Author: martinl
Date: 2010-11-07 01:29:26 -0800 (Sun, 07 Nov 2010)
New Revision: 44206

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: centre dialogs on screen by default
(merge r44205 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-07 09:27:26 UTC (rev 44205)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-11-07 09:29:26 UTC (rev 44206)
@@ -1988,7 +1988,7 @@
         return processTask(tree).GetTask()
     
     def ParseCommand(self, cmd, gmpath = None, completed = None, parentframe = None,
-                     show = True, modal = False, centreOnParent = True, checkError = False):
+                     show = True, modal = False, centreOnParent = False, checkError = False):
         """!Parse command
         
         Note: cmd is given as list

Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-11-07 09:27:26 UTC (rev 44205)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2010-11-07 09:29:26 UTC (rev 44206)
@@ -427,7 +427,7 @@
         """!Parse command selected from menu"""
         if event:
             cmd = self.GetMenuCmd(event)
-        menuform.GUI().ParseCommand(cmd, parentframe=self)
+        menuform.GUI().ParseCommand(cmd, parentframe = self)
 
     def OnRunScript(self, event):
         """!Run script"""



More information about the grass-commit mailing list