[GRASS-SVN] r52694 - grass/trunk/gui/wxpython/gcp
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 17 05:50:17 PDT 2012
Author: mmetz
Date: 2012-08-17 05:50:16 -0700 (Fri, 17 Aug 2012)
New Revision: 52694
Modified:
grass/trunk/gui/wxpython/gcp/manager.py
grass/trunk/gui/wxpython/gcp/mapdisplay.py
grass/trunk/gui/wxpython/gcp/toolbars.py
Log:
wx GCP Manager: fix indentation
Modified: grass/trunk/gui/wxpython/gcp/manager.py
===================================================================
--- grass/trunk/gui/wxpython/gcp/manager.py 2012-08-17 12:28:05 UTC (rev 52693)
+++ grass/trunk/gui/wxpython/gcp/manager.py 2012-08-17 12:50:16 UTC (rev 52694)
@@ -1973,7 +1973,7 @@
self.ResizeColumns()
self.render = True
- self.EnsureVisible(self.selected)
+ self.EnsureVisible(self.selected)
def OnCheckItem(self, index, flag):
"""!Item is checked/unchecked"""
@@ -2012,7 +2012,7 @@
self.gcp.pointsToDrawSrc.AddItem(coords = [0,0], label = str(self.selectedkey))
self.gcp.pointsToDrawTgt.AddItem(coords = [0,0], label = str(self.selectedkey))
- self.EnsureVisible(self.selected)
+ self.EnsureVisible(self.selected)
return self.selected
Modified: grass/trunk/gui/wxpython/gcp/mapdisplay.py
===================================================================
--- grass/trunk/gui/wxpython/gcp/mapdisplay.py 2012-08-17 12:28:05 UTC (rev 52693)
+++ grass/trunk/gui/wxpython/gcp/mapdisplay.py 2012-08-17 12:50:16 UTC (rev 52694)
@@ -344,8 +344,8 @@
Zoom out the map.
Set mouse cursor, zoombox attributes, and zoom direction
"""
- self.toolbars['gcpdisp'].OnTool(event)
- self.toolbars['gcpdisp'].action['desc'] = ''
+ self.toolbars['gcpdisp'].OnTool(event)
+ self.toolbars['gcpdisp'].action['desc'] = ''
self.MapWindow.mouse['use'] = "zoom"
self.MapWindow.mouse['box'] = "box"
@@ -372,8 +372,8 @@
"""
Panning, set mouse to drag
"""
- self.toolbars['gcpdisp'].OnTool(event)
- self.toolbars['gcpdisp'].action['desc'] = ''
+ self.toolbars['gcpdisp'].OnTool(event)
+ self.toolbars['gcpdisp'].action['desc'] = ''
self.MapWindow.mouse['use'] = "pan"
self.MapWindow.mouse['box'] = "pan"
Modified: grass/trunk/gui/wxpython/gcp/toolbars.py
===================================================================
--- grass/trunk/gui/wxpython/gcp/toolbars.py 2012-08-17 12:28:05 UTC (rev 52693)
+++ grass/trunk/gui/wxpython/gcp/toolbars.py 2012-08-17 12:50:16 UTC (rev 52694)
@@ -67,7 +67,7 @@
('georect', icons["georectify"],
self.parent.OnGeorect),
(None, ),
- ('gcpSave', icons["gcpSave"],
+ ('gcpSave', icons["gcpSave"],
self.parent.SaveGCPs),
('gcpReload', icons["gcpReload"],
self.parent.ReloadGCPs))
@@ -125,16 +125,16 @@
(None, ),
("gcpset", icons["gcpSet"],
self.parent.OnPointer,
- wx.ITEM_CHECK),
+ wx.ITEM_CHECK),
("pan", BaseIcons["pan"],
self.parent.OnPan,
- wx.ITEM_CHECK),
+ wx.ITEM_CHECK),
("zoomin", BaseIcons["zoomIn"],
self.parent.OnZoomIn,
- wx.ITEM_CHECK),
+ wx.ITEM_CHECK),
("zoomout", BaseIcons["zoomOut"],
self.parent.OnZoomOut,
- wx.ITEM_CHECK),
+ wx.ITEM_CHECK),
("zoommenu", BaseIcons["zoomMenu"],
self.parent.OnZoomMenuGCP),
(None, ),
More information about the grass-commit
mailing list