[GRASS-SVN] r49881 - grass/trunk/gui/wxpython/iclass

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 23 06:52:22 EST 2011


Author: martinl
Date: 2011-12-23 03:52:22 -0800 (Fri, 23 Dec 2011)
New Revision: 49881

Modified:
   grass/trunk/gui/wxpython/iclass/digit.py
   grass/trunk/gui/wxpython/iclass/frame.py
Log:
wxGUI: rename IClassIVDigit to IClassVDigit


Modified: grass/trunk/gui/wxpython/iclass/digit.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/digit.py	2011-12-23 11:36:53 UTC (rev 49880)
+++ grass/trunk/gui/wxpython/iclass/digit.py	2011-12-23 11:52:22 UTC (rev 49881)
@@ -75,7 +75,7 @@
         """
         return self.parent.GetToolbar("iClass").GetSelectedCategoryIdx()
         
-class IClassIVDigit(IVDigit):
+class IClassVDigit(IVDigit):
     """! Class similar to IVDigit but specialized for wxIClass."""
     def __init__(self, mapwindow):
         IVDigit.__init__(self, mapwindow)

Modified: grass/trunk/gui/wxpython/iclass/frame.py
===================================================================
--- grass/trunk/gui/wxpython/iclass/frame.py	2011-12-23 11:36:53 UTC (rev 49880)
+++ grass/trunk/gui/wxpython/iclass/frame.py	2011-12-23 11:52:22 UTC (rev 49881)
@@ -48,7 +48,7 @@
 from gui_core.dialogs   import SetOpacityDialog
 import grass.script as grass
 
-from iclass.digit       import IClassVDigitWindow, IClassIVDigit
+from iclass.digit       import IClassVDigitWindow, IClassVDigit
 from iclass.toolbars    import IClassMapToolbar, IClassMiscToolbar,\
                                IClassToolbar, IClassMapManagerToolbar
 from iclass.statistics  import Statistics, BandStatistics
@@ -268,7 +268,7 @@
 
         if name == "vdigit":
             self.toolbars[name] = VDigitToolbar(self, MapWindow = self.GetFirstWindow(),
-                                                digitClass = IClassIVDigit,
+                                                digitClass = IClassVDigit,
                                                 tools = ['addArea', 'moveVertex', 'addVertex',
                                                          'removeVertex', 'editLine',
                                                          'moveLine', 'deleteLine'])



More information about the grass-commit mailing list