[GRASS-SVN] r54456 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 29 03:34:37 PST 2012


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()



More information about the grass-commit mailing list