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: Sun, 09 Mar 2003 15:05:37 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    03/03/09 15:05:36

Modified files:
        forms/utils    : gfd04to05.py 

Log message:
        keep <tip> tags under <entry>

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

Patches:
Index: gnue/forms/utils/gfd04to05.py
diff -c gnue/forms/utils/gfd04to05.py:1.20 gnue/forms/utils/gfd04to05.py:1.21
*** gnue/forms/utils/gfd04to05.py:1.20  Thu Mar  6 01:13:14 2003
--- gnue/forms/utils/gfd04to05.py       Sun Mar  9 15:05:35 2003
***************
*** 276,287 ****
          del object._properties[attr]
  
      # Create a sister <entry>
!     modeler('entry', eattr, page)
! 
    # This one MUST be last... any child of a block
    # besides an entry (which was handled earlier)
    # should be reparented to a page
!   elif object._parent._tag == 'block' and object._tag != 'trigger':
      object.reparent(object._parent._origparent)
      
      # Block On-Switch triggers are now Post-FocusIn
--- 276,293 ----
          del object._properties[attr]
  
      # Create a sister <entry>
!     entry = modeler('entry', eattr, page)
!     
!     # Scan for options
!     for child in object._children: 
!       if child._type in ('option','tip'): 
!         child.reparent(entry)
!         
!   
    # This one MUST be last... any child of a block
    # besides an entry (which was handled earlier)
    # should be reparented to a page
!   elif object._parent._tag == 'block' and object._tag = 'trigger':
      object.reparent(object._parent._origparent)
      
      # Block On-Switch triggers are now Post-FocusIn




reply via email to

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