Geography: color badly formated.

svn: r20361
This commit is contained in:
Serge Noiraud 2012-09-10 20:47:56 +00:00
parent 39707ac885
commit 83ca2b4969

View File

@ -93,6 +93,8 @@ class LifeWayLayer(GObject.GObject, osmgpsmap.MapLayer):
alpha is the transparence
radius is the size of the track.
"""
if isinstance(color,str):
color = Gdk.color_parse(color)
self.lifeways_ref.append((points, color, radius))
def add_way(self, points, color):