gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject cvs commit: jakarta-gump/python/gump document.py
Date Wed, 24 Sep 2003 21:26:47 GMT
ajack       2003/09/24 14:26:47

  Modified:    python/gump document.py
  Log:
  In a place I can't easily test before I commit, the icon code failed.
  Retry #1.
  
  Revision  Changes    Path
  1.27      +7 -6      jakarta-gump/python/gump/document.py
  
  Index: document.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/document.py,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- document.py	24 Sep 2003 20:28:21 -0000	1.26
  +++ document.py	24 Sep 2003 21:26:46 -0000	1.27
  @@ -197,6 +197,7 @@
       
       # Temporary
       # Too verbose ... forrest.addParameter('-debug')
  +    forrest.addParameter('-verbose')
       
       forrest.addPrefixedParameter('-D','java.awt.headless','true','=')
       #forrest.addPrefixedParameter('-D','project.content-dir',  \
  @@ -965,14 +966,14 @@
       
   def getStatePairIcon(pair,depth=0):
   
  -    stateName=stateName(pair.status)
  -    reasonString=reasonString(pair.reason)    
  +    sname=stateName(pair.status)
  +    rstring=reasonString(pair.reason)    
       
  -    description=stateName    
  -    uniqueName=stateName
  +    description=sname    
  +    uniqueName=sname
       if not pair.reason==REASON_UNSET: 
  -        description+=' '+reasonString
  -        uniqueName+='_'+reasonString
  +        description+=' '+rstring
  +        uniqueName+='_'+rstring
       
       # Build the URL
       iconName=gumpSafeName(uniqueName)
  
  
  

Mime
View raw message