[GRASS-SVN] r34972 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 21 07:32:17 EST 2008


Author: martinl
Date: 2008-12-21 07:32:17 -0500 (Sun, 21 Dec 2008)
New Revision: 34972

Modified:
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: remove unused code

Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2008-12-21 12:24:04 UTC (rev 34971)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2008-12-21 12:32:17 UTC (rev 34972)
@@ -1115,17 +1115,7 @@
         dcmd = self.curr_page.maptree.GetPyData(layer)[0]['cmd']
         if not dcmd:
             return
-
-        size = icon = None
-
-        for option in dcmd:
-            if option.find('size') > -1:
-                size = option.split('=')[1]
-            elif option.find('icon') > -1:
-                icon = option.split('=')[1]
-
-        pointdata = (icon, size)
-
+        
         busy = wx.BusyInfo(message=_("Please wait, loading attribute data..."),
                            parent=self)
         wx.Yield()



More information about the grass-commit mailing list