[GRASS-SVN] r54233 - in grass/trunk/gui/wxpython: lmgr mapswipe
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 7 01:40:53 PST 2012
Author: annakrat
Date: 2012-12-07 01:40:52 -0800 (Fri, 07 Dec 2012)
New Revision: 54233
Modified:
grass/trunk/gui/wxpython/lmgr/frame.py
grass/trunk/gui/wxpython/mapswipe/frame.py
Log:
wxGUI/mapswipe: minor fix
Modified: grass/trunk/gui/wxpython/lmgr/frame.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/frame.py 2012-12-07 08:59:28 UTC (rev 54232)
+++ grass/trunk/gui/wxpython/lmgr/frame.py 2012-12-07 09:40:52 UTC (rev 54233)
@@ -447,6 +447,7 @@
win.SetFirstRaster(rasters[0])
if len(rasters) >= 2:
win.SetSecondRaster(rasters[1])
+ win.SetRasterNames()
win.CentreOnScreen()
win.Show()
Modified: grass/trunk/gui/wxpython/mapswipe/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapswipe/frame.py 2012-12-07 08:59:28 UTC (rev 54232)
+++ grass/trunk/gui/wxpython/mapswipe/frame.py 2012-12-07 09:40:52 UTC (rev 54233)
@@ -527,9 +527,7 @@
return self.toolbars['swipeMap']
def IsStandalone(self):
- if self.parent:
- return False
-
+ """!Since we do not need layer manager, we are standalone"""
return True
def OnHelp(self, event):
More information about the grass-commit
mailing list