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: Sat, 21 Dec 2002 13:09:14 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     Jason Cater <address@hidden>    02/12/21 13:09:14

Modified files:
        forms/utils    : gfd04to05.py 

Log message:
        fix ON-SWITCH conversion

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

Patches:
Index: gnue/forms/utils/gfd04to05.py
diff -c gnue/forms/utils/gfd04to05.py:1.15 gnue/forms/utils/gfd04to05.py:1.16
*** gnue/forms/utils/gfd04to05.py:1.15  Sat Dec 21 12:54:47 2002
--- gnue/forms/utils/gfd04to05.py       Sat Dec 21 13:09:14 2002
***************
*** 282,289 ****
      object.reparent(object._parent._origparent)
      
      # Block On-Switch triggers are now Post-FocusIn
!     if object._tag == 'trigger' and hasattr(object,'type') and 
object.type.upper() == 'ON-SWITCH':
!       object.type = 'Post-FocusIn'
  
  
  def fixTriggers(object):
--- 282,292 ----
      object.reparent(object._parent._origparent)
      
      # Block On-Switch triggers are now Post-FocusIn
!     try: 
!       if object._tag == 'trigger' and object._properties['type'].upper() == 
'ON-SWITCH':
!         object._properties['type'] = 'POST-FOCUSIN'
!     except KeyError: 
!       pass
  
  
  def fixTriggers(object):



reply via email to

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