[GRASS-SVN] r54665 - grass/trunk/gui/wxpython/lmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 16 02:48:23 PST 2013


Author: martinl
Date: 2013-01-16 02:48:16 -0800 (Wed, 16 Jan 2013)
New Revision: 54665

Modified:
   grass/trunk/gui/wxpython/lmgr/frame.py
Log:
wxGUI: correct position of WMS dialog


Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py	2013-01-16 10:42:25 UTC (rev 54664)
+++ grass/trunk/gui/wxpython/lmgr/frame.py	2013-01-16 10:48:16 UTC (rev 54665)
@@ -1512,6 +1512,8 @@
         from web_services.dialogs import AddWSDialog
         dlg = AddWSDialog(parent = self, gmframe = self)
         dlg.CentreOnScreen()
+        x, y = dlg.GetPosition()
+        dlg.SetPosition((x, y - 200))
         dlg.Show()
 
     def OnShowAttributeTable(self, event, selection = None):



More information about the grass-commit mailing list