[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-commit
Subject: [GRASS-SVN] r54456 - grass/trunk/gui/wxpython/mapdisp
From: svn_grass () osgeo ! org
Date: 2012-12-29 11:34:37
Message-ID: 20121229113437.5BC4839037F () trac ! osgeo ! org
[Download RAW message or body]
Author: martinl
Date: 2012-12-29 03:34:37 -0800 (Sat, 29 Dec 2012)
New Revision: 54456
Modified:
grass/trunk/gui/wxpython/mapdisp/statusbar.py
Log:
wxGUI: wms download message cosmetics
Modified: grass/trunk/gui/wxpython/mapdisp/statusbar.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/statusbar.py 2012-12-29 11:27:07 UTC (rev 54455)
+++ grass/trunk/gui/wxpython/mapdisp/statusbar.py 2012-12-29 11:34:37 UTC (rev 54456)
@@ -1040,23 +1040,24 @@
self.widget.SetValue(self.maps[map]['progresVal'])
# update statusbar text
- st_text = ''
+ stText = ''
first = True
for layer in self.maps[map]['downloading']:
if first:
- st_text += _("Downloading data...")
+ stText += _("Downloading data ")
first = False
else:
- st_text += ', '
- st_text += layer.GetName()
+ stText += ', '
+ stText += '<%s>' % layer.GetName()
+ stText += '...'
if self.maps[map]['range'] != len(self.maps[map]['rendered']):
- if st_text:
- st_text = _('Rendering & ') + st_text
+ if stText:
+ stText = _('Rendering & ') + stText
else:
- st_text = _('Rendering...')
+ stText = _('Rendering...')
- self.statusbar.SetStatusText(st_text, self.position)
+ self.statusbar.SetStatusText(stText, self.position)
def GetValue(self):
return self.widget.GetValue()
_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic