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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 29 13:43:20 EDT 2009


Author: martinl
Date: 2009-09-29 13:43:19 -0400 (Tue, 29 Sep 2009)
New Revision: 39334

Modified:
   grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
Log:
wxGUI: zoom to rgb


Modified: grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py	2009-09-29 17:31:16 UTC (rev 39333)
+++ grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py	2009-09-29 17:43:19 UTC (rev 39334)
@@ -269,7 +269,7 @@
             self.Bind(wx.EVT_MENU, self.OnPopupOpacityLevel, id=self.popupID8)
             self.popupMenu.Append(self.popupID3, text=_("Properties"))
             self.Bind(wx.EVT_MENU, self.OnPopupProperties, id=self.popupID3)
-            if ltype in ('raster', 'vector'):
+            if ltype in ('raster', 'vector', 'rgb'):
                 self.popupMenu.Append(self.popupID9, text=_("Zoom to selected map(s)"))
                 self.Bind(wx.EVT_MENU, self.mapdisplay.MapWindow.OnZoomToMap, id=self.popupID9)
                 self.popupMenu.Append(self.popupID10, text=_("Set computational region from selected map(s)"))



More information about the grass-commit mailing list