Browse Source

wx GCP Manager: fix indentation

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52694 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 12 years ago
parent
commit
8cda9ed0e2
3 changed files with 11 additions and 11 deletions
  1. 2 2
      gui/wxpython/gcp/manager.py
  2. 4 4
      gui/wxpython/gcp/mapdisplay.py
  3. 5 5
      gui/wxpython/gcp/toolbars.py

+ 2 - 2
gui/wxpython/gcp/manager.py

@@ -1973,7 +1973,7 @@ class GCPList(wx.ListCtrl,
         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 @@ class GCPList(wx.ListCtrl,
         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
 

+ 4 - 4
gui/wxpython/gcp/mapdisplay.py

@@ -344,8 +344,8 @@ class MapFrame(SingleMapFrame):
         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 @@ class MapFrame(SingleMapFrame):
         """
         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"

+ 5 - 5
gui/wxpython/gcp/toolbars.py

@@ -67,7 +67,7 @@ class GCPManToolbar(BaseToolbar):
                                      ('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 @@ class GCPDisplayToolbar(BaseToolbar):
                                      (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, ),