commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnue/forms/utils gfd04to05.py


From: Jason Cater
Subject: gnue/forms/utils gfd04to05.py
Date: Wed, 20 Nov 2002 19:51:56 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/11/20 19:51:56

Modified files:
        forms/utils    : gfd04to05.py 

Log message:
        replace transparentBlock, as it's default

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/utils/gfd04to05.py.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gnue/forms/utils/gfd04to05.py
diff -c gnue/forms/utils/gfd04to05.py:1.1 gnue/forms/utils/gfd04to05.py:1.2
*** gnue/forms/utils/gfd04to05.py:1.1   Tue Nov 19 20:01:40 2002
--- gnue/forms/utils/gfd04to05.py       Wed Nov 20 19:51:56 2002
***************
*** 181,186 ****
--- 181,187 ----
      object.reparent(layout)
  
    elif object._tag == 'block':
+   
      # Move blocks to the new <logic> tag
      object.reparent(logic)
  
***************
*** 190,195 ****
--- 191,202 ----
      except:
        name = 'Block1'
      object._properties['name'] = getUniqueName(name, blockNames)
+ 
+     # No more transparentBlock; set by default
+     try:
+       del object._properties['transparentBlock']
+     except:
+       pass
  
      if object._origparent._properties.has_key('name'):
        triggerReplacements['%s.%s' % (object._origparent._properties['name'],




reply via email to

[Prev in Thread] Current Thread [Next in Thread]