[GRASS-SVN] r34973 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 21 07:33:30 EST 2008


Author: martinl
Date: 2008-12-21 07:33:30 -0500 (Sun, 21 Dec 2008)
New Revision: 34973

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: remove unused code
       (merge from devbr6, r34972)


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-12-21 12:32:17 UTC (rev 34972)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-12-21 12:33:30 UTC (rev 34973)
@@ -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