[GRASS-SVN] r49069 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 3 07:15:03 EDT 2011
Author: martinl
Date: 2011-11-03 04:15:03 -0700 (Thu, 03 Nov 2011)
New Revision: 49069
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/layertree.py
Log:
wxGUI: adjust layer item window align workaround
(merge r49065 from devbr6)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/layertree.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/layertree.py 2011-11-03 09:52:13 UTC (rev 49068)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/layertree.py 2011-11-03 11:15:03 UTC (rev 49069)
@@ -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))
@@ -748,7 +748,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