[GRASS-SVN] r67725 - in grass/trunk/gui/wxpython: core mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Feb 4 15:34:30 PST 2016
Author: martinl
Date: 2016-02-04 15:34:30 -0800 (Thu, 04 Feb 2016)
New Revision: 67725
Modified:
grass/trunk/gui/wxpython/core/globalvar.py
grass/trunk/gui/wxpython/core/settings.py
grass/trunk/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fix windows layout (on gnome)
Modified: grass/trunk/gui/wxpython/core/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/core/globalvar.py 2016-02-04 23:34:01 UTC (rev 67724)
+++ grass/trunk/gui/wxpython/core/globalvar.py 2016-02-04 23:34:30 UTC (rev 67725)
@@ -3,7 +3,7 @@
@brief Global variables used by wxGUI
-(C) 2007-2014 by the GRASS Development Team
+(C) 2007-2016 by the GRASS Development Team
This program is free software under the GNU General Public License
(>=v2). Read the file COPYING that comes with GRASS for details.
@@ -116,7 +116,7 @@
DIALOG_LAYER_SIZE = (100, -1)
DIALOG_COLOR_SIZE = (30, 30)
-MAP_WINDOW_SIZE = (800, 600)
+MAP_WINDOW_SIZE = (825, 600)
GM_WINDOW_MIN_SIZE = (525, 400)
# small for ms window which wraps the menu
Modified: grass/trunk/gui/wxpython/core/settings.py
===================================================================
--- grass/trunk/gui/wxpython/core/settings.py 2016-02-04 23:34:01 UTC (rev 67724)
+++ grass/trunk/gui/wxpython/core/settings.py 2016-02-04 23:34:30 UTC (rev 67725)
@@ -11,7 +11,7 @@
from core.settings import UserSettings
@endcode
-(C) 2007-2011 by the GRASS Development Team
+(C) 2007-2016 by the GRASS Development Team
This program is free software under the GNU General Public License
(>=v2). Read the file COPYING that comes with GRASS for details.
@@ -83,10 +83,10 @@
# use default window layout (layer manager, displays, ...)
'defWindowPos' : {
'enabled' : True,
- 'dim' : '0,0,%d,%d,%d,0,%d,%d' % \
+ 'dim' : '1,1,%d,%d,%d,1,%d,%d' % \
(globalvar.GM_WINDOW_SIZE[0],
globalvar.GM_WINDOW_SIZE[1],
- globalvar.GM_WINDOW_SIZE[0],
+ globalvar.GM_WINDOW_SIZE[0] + 1,
globalvar.MAP_WINDOW_SIZE[0],
globalvar.MAP_WINDOW_SIZE[1])
},
Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py 2016-02-04 23:34:01 UTC (rev 67724)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py 2016-02-04 23:34:30 UTC (rev 67725)
@@ -260,7 +260,7 @@
grassVersion = "?"
gisenv = grass.gisenv()
- title = _("GRASS GIS %(version)s Map Display: %(id)s - Location: %(loc)s@%(mapset)s") % \
+ title = _("GRASS GIS %(version)s Map Display: %(id)s - Location: %(loc)s@%(mapset)s") % \
{'version': grassVersion,
'id': str(displayId),
'loc': gisenv["LOCATION_NAME"],
More information about the grass-commit
mailing list