ajack 2003/09/24 15:35:35
Modified: python/gump document.py
Log:
Debugging icons.
Revision Changes Path
1.32 +5 -5 jakarta-gump/python/gump/document.py
Index: document.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- document.py 24 Sep 2003 22:11:38 -0000 1.31
+++ document.py 24 Sep 2003 22:35:35 -0000 1.32
@@ -285,11 +285,11 @@
if moduleFilterList and not mctxt.module in moduleFilterList: continue
mcount+=1
(mhours, mmins, msecs) = mctxt.elapsedTime();
- x.write(' <tr><!-- %s -->' % (mname))
- x.write(' <td><link href=\'%s\'>%s</link></td><td>%s</td>' % \
+ x.write(' <tr><!-- %s -->\n' % (mname))
+ x.write(' <td><link href=\'%s\'>%s</link></td><td>%s</td>\n' % \
(getModuleRelativeUrl(mname),mname,getStateIcons(mctxt.aggregateStates())))
- x.write(' <td>%s:%s:%s</td>' % (str(mhours),str(mmins),str(msecs)))
- x.write(' </tr>')
+ x.write(' <td>%s:%s:%s</td>\n' % (str(mhours),str(mmins),str(msecs)))
+ x.write(' </tr>\n\n')
if not mcount: x.write(' <tr><td>None</td></tr>')
endTableXDoc(x)
endSectionXDoc(x)
@@ -976,7 +976,7 @@
uniqueName+='_'+rstring
# Build the URL
- iconName=gumpSafeName(uniqueName)
+ iconName=gumpSafeName(lower(uniqueName))
url = getUp(depth)+"resources/icons/"+iconName+".png";
# Build the <icon xdoc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]