ajack 2003/09/24 14:38:36
Modified: python/gump document.py
Log:
3rd try lucky...
Revision Changes Path
1.28 +2 -2 jakarta-gump/python/gump/document.py
Index: document.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- document.py 24 Sep 2003 21:26:46 -0000 1.27
+++ document.py 24 Sep 2003 21:38:36 -0000 1.28
@@ -966,7 +966,7 @@
def getStatePairIcon(pair,depth=0):
- sname=stateName(pair.status)
+ sname=stateName(pair.state)
rstring=reasonString(pair.reason)
description=sname
@@ -977,7 +977,7 @@
# Build the URL
iconName=gumpSafeName(uniqueName)
- url = getUp(depth)+"/resources/icons/"+iconName+".png";
+ url = getUp(depth)+"resources/icons/"+iconName+".png";
# Build the <icon xdoc
return '<icon src=\'' + url + '\' alt=\'' + description +'\'/>'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]