[GRASS-SVN] r45574 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Mar 5 11:38:26 EST 2011
Author: martinl
Date: 2011-03-05 08:38:26 -0800 (Sat, 05 Mar 2011)
New Revision: 45574
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py
Log:
wxGUI: move windows more to the right (CT.TR_ALIGN_WINDOWS)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py 2011-03-05 16:32:58 UTC (rev 45573)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/layertree.py 2011-03-05 16:38:26 UTC (rev 45574)
@@ -737,48 +737,49 @@
self.layer_selected = layer
# add text and icons for each layer ltype
+ label = _('(double click to set properties)') + ' ' * 35
if ltype == 'raster':
self.SetItemImage(layer, self.rast_icon)
- self.SetItemText(layer, '%s %s' % (_('raster'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('raster'), label))
elif ltype == '3d-raster':
self.SetItemImage(layer, self.rast3d_icon)
- self.SetItemText(layer, '%s %s' % (_('3d raster'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('3d raster'), label))
elif ltype == 'rgb':
self.SetItemImage(layer, self.rgb_icon)
- self.SetItemText(layer, '%s %s' % (_('RGB'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('RGB'), label))
elif ltype == 'his':
self.SetItemImage(layer, self.his_icon)
- self.SetItemText(layer, '%s %s' % (_('HIS'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('HIS'), label))
elif ltype == 'shaded':
self.SetItemImage(layer, self.shaded_icon)
- self.SetItemText(layer, '%s %s' % (_('Shaded relief'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('Shaded relief'), label))
elif ltype == 'rastnum':
self.SetItemImage(layer, self.rnum_icon)
- self.SetItemText(layer, '%s %s' % (_('raster cell numbers'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('raster cell numbers'), label))
elif ltype == 'rastarrow':
self.SetItemImage(layer, self.rarrow_icon)
- self.SetItemText(layer, '%s %s' % (_('raster flow arrows'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('raster flow arrows'), label))
elif ltype == 'vector':
self.SetItemImage(layer, self.vect_icon)
- self.SetItemText(layer, '%s %s' % (_('vector'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('vector'), label))
elif ltype == 'thememap':
self.SetItemImage(layer, self.theme_icon)
- self.SetItemText(layer, '%s %s' % (_('thematic map'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('thematic map'), label))
elif ltype == 'themechart':
self.SetItemImage(layer, self.chart_icon)
- self.SetItemText(layer, '%s %s' % (_('thematic charts'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('thematic charts'), label))
elif ltype == 'grid':
self.SetItemImage(layer, self.grid_icon)
- self.SetItemText(layer, '%s %s' % (_('grid'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('grid'), label))
elif ltype == 'geodesic':
self.SetItemImage(layer, self.geodesic_icon)
- self.SetItemText(layer, '%s %s' % (_('geodesic line'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('geodesic line'), label))
elif ltype == 'rhumb':
self.SetItemImage(layer, self.rhumb_icon)
- self.SetItemText(layer, '%s %s' % (_('rhumbline'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('rhumbline'), label))
elif ltype == 'labels':
self.SetItemImage(layer, self.labels_icon)
- self.SetItemText(layer, '%s %s' % (_('vector labels'), _('(double click to set properties)')))
+ self.SetItemText(layer, '%s %s' % (_('vector labels'), label))
elif ltype == 'command':
self.SetItemImage(layer, self.cmd_icon)
elif ltype == 'group':
More information about the grass-commit
mailing list