[GRASS-SVN] r44207 - in grass/branches/releasebranch_6_4/gui/wxpython: . gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 7 05:23:54 EST 2010


Author: martinl
Date: 2010-11-07 02:23:54 -0800 (Sun, 07 Nov 2010)
New Revision: 44207

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


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-11-07 09:29:26 UTC (rev 44206)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2010-11-07 10:23:54 UTC (rev 44207)
@@ -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/releasebranch_6_4/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2010-11-07 09:29:26 UTC (rev 44206)
+++ grass/branches/releasebranch_6_4/gui/wxpython/wxgui.py	2010-11-07 10:23:54 UTC (rev 44207)
@@ -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