[GRASS-SVN] r47472 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Aug 7 05:45:58 EDT 2011


Author: martinl
Date: 2011-08-07 02:45:58 -0700 (Sun, 07 Aug 2011)
New Revision: 47472

Modified:
   grass/trunk/gui/wxpython/gui_modules/colorrules.py
Log:
wxGUI/colortable: fix GMessage


Modified: grass/trunk/gui/wxpython/gui_modules/colorrules.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/colorrules.py	2011-08-07 07:43:05 UTC (rev 47471)
+++ grass/trunk/gui/wxpython/gui_modules/colorrules.py	2011-08-07 09:45:58 UTC (rev 47472)
@@ -752,7 +752,7 @@
         """
         ret = self.CreateColorTable()
         if not ret:
-            GMessage(parent = self, message = _("No color rules given."))
+            gcmd.GMessage(parent = self, message = _("No color rules given."))
             
         if not self.nviz:
             display = self.parent.GetLayerTree().GetMapDisplay()



More information about the grass-commit mailing list