jan: thuban/Thuban/Model classification.py,1.39,1.40

cvs@intevation.de cvs at intevation.de
Wed Jul 27 23:49:27 CEST 2005


Author: jan

Update of /thubanrepository/thuban/Thuban/Model
In directory doto:/tmp/cvs-serv6633

Modified Files:
	classification.py 
Log Message:
(Classification.TreeItem.build_info): Added output of size.


Index: classification.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/Model/classification.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- classification.py	3 Oct 2004 21:01:31 -0000	1.39
+++ classification.py	27 Jul 2005 21:49:25 -0000	1.40
@@ -1,6 +1,7 @@
-# Copyright (c) 2001, 2003 by Intevation GmbH
+# Copyright (c) 2001, 2003, 2005 by Intevation GmbH
 # Authors:
 # Jonathan Coles <jonathan at intevation.de>
+# Jan-Oliver Wagner <jan at intevation.de> (2005)
 #
 # This program is free software under the GPL (>=v2)
 # Read the file COPYING coming with Thuban for details.
@@ -307,6 +308,13 @@
             i.append(build_color_item(_("Line Color"), v))
             v = props.GetLineWidth()
             i.append(_("Line Width: %s") % v)
+
+	    # Note: Size is owned by all properties, so
+	    # a size will also appear where it does not
+	    # make sense like for lines and polygons.
+            v = props.GetSize()
+            i.append(_("Size: %s") % v)
+
             v = props.GetFill()
             i.append(build_color_item(_("Fill"), v))
             return (label, i)





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)