commit-gnue
[Top][All Lists]
Advanced

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

gnue/forms/src GFDisplayHandler.py


From: James Thompson
Subject: gnue/forms/src GFDisplayHandler.py
Date: Wed, 11 Dec 2002 16:07:58 -0500

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/12/11 16:07:58

Modified files:
        forms/src      : GFDisplayHandler.py 

Log message:
        activated btami's patch from ages past

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/forms/src/GFDisplayHandler.py.diff?tr1=1.39&tr2=1.40&r1=text&r2=text

Patches:
Index: gnue/forms/src/GFDisplayHandler.py
diff -c gnue/forms/src/GFDisplayHandler.py:1.39 
gnue/forms/src/GFDisplayHandler.py:1.40
*** gnue/forms/src/GFDisplayHandler.py:1.39     Thu Nov 21 21:57:23 2002
--- gnue/forms/src/GFDisplayHandler.py  Wed Dec 11 16:07:57 2002
***************
*** 81,93 ****
  
    def generateRefreshEvent(self):
      # TODO: this should probably actually happen in UIwxpython!
!     #
!     # TODO: I think this is what btami was going for but the patch commited 
was
!     # TODO: invalid python so I'm just putting the old line back with what I 
think
!     # TODO: would be the corrected patch line commented out.
!     # if (self.handleCR and type(self.display)=='str'):
! 
!     if self.handleCR:
        self.dispatchEvent(events.Event('updateEntryEditor',
             object = self.field,
             display=self.display, # string.replace(self.display,'\n','\r\n'),
--- 81,87 ----
  
    def generateRefreshEvent(self):
      # TODO: this should probably actually happen in UIwxpython!
!     if (self.handleCR and type(self.display)=='str'):
        self.dispatchEvent(events.Event('updateEntryEditor',
             object = self.field,
             display=self.display, # string.replace(self.display,'\n','\r\n'),



reply via email to

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