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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Aug 15 16:38:06 EDT 2008


Author: cmbarton
Date: 2008-08-15 16:38:05 -0400 (Fri, 15 Aug 2008)
New Revision: 32790

Modified:
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
Update for adding vector color management to new interactive color table manager

Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2008-08-15 20:11:04 UTC (rev 32789)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2008-08-15 20:38:05 UTC (rev 32790)
@@ -878,8 +878,8 @@
         """
         command = self.GetMenuCmd(event)
         
-        if command[0] == 'r.colors':
-            ctable = colorrules.ColorTable(self, cmd=command)
+        if command[0] == 'r.colors' or command[0] == 'vcolors':
+            ctable = colorrules.ColorTable(self, cmd=command[0])
             ctable.Show()      
         else:
             dlg = rules.RulesText(self, cmd=command)



More information about the grass-commit mailing list