jan: thuban/Thuban/Model load.py,1.48,1.49
cvs@intevation.de
cvs at intevation.de
Sun Oct 3 23:05:32 CEST 2004
Author: jan
Update of /thubanrepository/thuban/Thuban/Model
In directory doto:/tmp/cvs-serv5695
Modified Files:
load.py
Log Message:
(SessionLoader.start_cldata): Also parse the size attribute.
Index: load.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/Model/load.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -d -r1.48 -r1.49
--- load.py 12 Mar 2004 12:19:15 -0000 1.48
+++ load.py 3 Oct 2004 21:05:30 -0000 1.49
@@ -554,6 +554,7 @@
parse_color(attrs.get((None, 'stroke'), "None")))
self.cl_prop.SetLineWidth(
int(attrs.get((None, 'stroke_width'), "0")))
+ self.cl_prop.SetSize(int(attrs.get((None, 'size'), "5")))
self.cl_prop.SetFill(parse_color(attrs.get((None, 'fill'), "None")))
def end_cldata(self, name, qname):
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)