[GRASS-SVN] r31166 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Apr 28 18:10:11 EDT 2008
Author: martinl
Date: 2008-04-28 18:10:11 -0400 (Mon, 28 Apr 2008)
New Revision: 31166
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI (mapdisplay): statusbar mode fix (changed order of statusbar mode)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2008-04-28 22:05:21 UTC (rev 31165)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py 2008-04-28 22:10:11 UTC (rev 31166)
@@ -2687,17 +2687,17 @@
(self.Map.region["w"], self.Map.region["e"],
self.Map.region["s"], self.Map.region["n"]), 0)
- elif self.toggleStatus.GetSelection() == 2: # Show comp. extent
- self.statusbar.SetStatusText("", 0)
- self.showRegion.Show()
-
- elif self.toggleStatus.GetSelection() == 3: # Comp. region
+ elif self.toggleStatus.GetSelection() == 2: # Comp. region
compregion = self.Map.GetRegion()
self.statusbar.SetStatusText("%.2f - %.2f, %.2f - %.2f (%.2f, %.2f)" %
(compregion["w"], compregion["e"],
compregion["s"], compregion["n"],
compregion["ewres"], compregion["nsres"]), 0)
+ elif self.toggleStatus.GetSelection() == 3: # Show comp. extent
+ self.statusbar.SetStatusText("", 0)
+ self.showRegion.Show()
+
elif self.toggleStatus.GetSelection() == 4: # Display mode
self.statusbar.SetStatusText("", 0)
self.compResolution.Show()
More information about the grass-commit
mailing list