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: Tue, 02 Jul 2002 20:28:07 -0400

CVSROOT:        /cvsroot/gnue
Module name:    gnue
Changes by:     James Thompson <address@hidden> 02/07/02 20:28:07

Modified files:
        forms/src      : GFDisplayHandler.py 

Log message:
        Unfixed the fix that was invalid python.  Included a what I think was 
the correct
        line but left it commented out.

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

Patches:
Index: gnue/forms/src/GFDisplayHandler.py
diff -c gnue/forms/src/GFDisplayHandler.py:1.29 
gnue/forms/src/GFDisplayHandler.py:1.30
*** gnue/forms/src/GFDisplayHandler.py:1.29     Tue Jul  2 10:35:35 2002
--- gnue/forms/src/GFDisplayHandler.py  Tue Jul  2 20:28:07 2002
***************
*** 82,88 ****
  
    def generateRefreshEvent(self):
      # TODO: this should probably actually happen in UIwxpython!
!     if (self.handleCR AND type(self.display)='str'):
        self.dispatchEvent(GFEvent('updateEntryEditor',
             object = self.entry,
             display=self.display, # string.replace(self.display,'\n','\r\n'),
--- 82,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(GFEvent('updateEntryEditor',
             object = self.entry,
             display=self.display, # string.replace(self.display,'\n','\r\n'),



reply via email to

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