[GRASS-SVN] r48873 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 19 21:26:00 EDT 2011


Author: martinl
Date: 2011-10-19 18:25:59 -0700 (Wed, 19 Oct 2011)
New Revision: 48873

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
Log:
wxGUI/modeler: remove undefined 'change id'
	       (merge r48872 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py	2011-10-20 01:24:46 UTC (rev 48872)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gmodeler.py	2011-10-20 01:25:59 UTC (rev 48873)
@@ -2406,17 +2406,9 @@
             popupMenu.Append(self.popupID['props'], text=_('Properties'))
             self.frame.Bind(wx.EVT_MENU, self.OnProperties, id = self.popupID['props'])
         
-        if isinstance(shape, ModelAction):
-            popupMenu.Append(self.popupID['id'], text=_('Change ID'))
-            self.frame.Bind(wx.EVT_MENU, self.OnChangeId, id = self.popupID['id'])
-        
         self.frame.PopupMenu(popupMenu)
         popupMenu.Destroy()
 
-    def OnChangeId(self, event):
-        """!Change action id"""
-        pass
-    
     def OnDisable(self, event):
         """!Disable action"""
         self._onEnable(False)



More information about the grass-commit mailing list