commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms/utils gfd04to05.py


From: James Thompson
Subject: gnue/forms/utils gfd04to05.py
Date: Sun, 09 Mar 2003 15:59:58 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 03/03/09 15:59:56

Modified files:
        forms/utils    : gfd04to05.py 

Log message:
        fixes for tip reparenting

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

Patches:
Index: gnue/forms/utils/gfd04to05.py
diff -c gnue/forms/utils/gfd04to05.py:1.21 gnue/forms/utils/gfd04to05.py:1.22
*** gnue/forms/utils/gfd04to05.py:1.21  Sun Mar  9 15:05:35 2003
--- gnue/forms/utils/gfd04to05.py       Sun Mar  9 15:59:55 2003
***************
*** 279,293 ****
      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
--- 279,293 ----
      entry = modeler('entry', eattr, page)
      
      # Scan for options
!     for child in object._children:
!       if child._tag in ('options','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]