[GRASS-SVN] r66953 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 27 16:32:20 PST 2015
Author: martinl
Date: 2015-11-27 16:32:20 -0800 (Fri, 27 Nov 2015)
New Revision: 66953
Modified:
grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: add 'set color table interactively' to the raster menu
Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py 2015-11-28 00:17:38 UTC (rev 66952)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py 2015-11-28 00:32:20 UTC (rev 66953)
@@ -405,7 +405,7 @@
for key in ('remove', 'rename', 'opacity', 'nviz', 'zoom',
'region', 'export', 'attr', 'edit', 'save_ws',
'bgmap', 'topo', 'meta', 'null', 'zoom1',
- 'color', 'hist', 'univar', 'prof', 'properties', 'sql', 'copy',
+ 'color', 'colori', 'hist', 'univar', 'prof', 'properties', 'sql', 'copy',
'report', 'export-pg', 'pack'):
self.popupID[key] = wx.NewId()
@@ -603,6 +603,8 @@
self.popupMenu.Append(self.popupID['color'], _("Set color table"))
self.Bind (wx.EVT_MENU, self.OnRasterColorTable, id = self.popupID['color'])
+ self.popupMenu.Append(self.popupID['colori'], _("Set color table interactively"))
+ self.Bind (wx.EVT_MENU, self.lmgr.OnRasterRules, id = self.popupID['colori'])
item = wx.MenuItem(self.popupMenu, id = self.popupID['hist'], text = _("Histogram"))
item.SetBitmap(MetaIcon(img = 'layer-raster-histogram').GetBitmap(self.bmpsize))
More information about the grass-commit
mailing list