[GRASS-SVN] r49066 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 3 04:20:28 EDT 2011
Author: martinl
Date: 2011-11-03 01:20:28 -0700 (Thu, 03 Nov 2011)
New Revision: 49066
Modified:
grass/trunk/gui/wxpython/gui_modules/layertree.py
Log:
wxGUI: adjust layer item window align workaround
(merge r49065 from devbr6)
Modified: grass/trunk/gui/wxpython/gui_modules/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/layertree.py 2011-11-03 08:19:00 UTC (rev 49065)
+++ grass/trunk/gui/wxpython/gui_modules/layertree.py 2011-11-03 08:20:28 UTC (rev 49066)
@@ -131,7 +131,7 @@
self.root = self.AddRoot(_("Map Layers"))
self.SetPyData(self.root, (None, None))
- #create image list to use with layer tree
+ # create image list to use with layer tree
il = wx.ImageList(16, 16, mask = False)
trart = wx.ArtProvider.GetBitmap(wx.ART_FOLDER_OPEN, wx.ART_OTHER, (16, 16))
@@ -800,7 +800,7 @@
self.CheckItem(layer, checked = checked)
# add text and icons for each layer ltype
- label = _('(double click to set properties)') + ' ' * 35
+ label = _('(double click to set properties)') + ' ' * 15
if ltype == 'raster':
self.SetItemImage(layer, self.rast_icon)
self.SetItemText(layer, '%s %s' % (_('raster'), label))
More information about the grass-commit
mailing list