Update of /cvsroot/pythonreports/PythonReports/PythonReports
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3474
Modified Files:
design.py
Log Message:
compatibility fix for python 2.5/2.6
Index: design.py
===================================================================
RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/design.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** design.py 24 Jun 2007 13:04:21 -0000 1.18
--- design.py 29 Apr 2009 07:25:07 -0000 1.19
***************
*** 5,8 ****
--- 5,9 ----
"""PythonReports Template Designer"""
"""History (most recent first):
+ 29-apr-2009 [als] compatibility fix for python 2.5/2.6
24-jun-2007 [als] update window title after save (filename may change)
08-dec-2006 [als] invalidate .current_node when new file is loaded;
***************
*** 1252,1256 ****
# including Message dialogs. Check update when the first
# child of the tree widget gets destroyed, ignore all others.
! if not self.terminated and event.widget.startswith(str(self.tree)):
# some of the window widgets have been destroyed yet
# and the window looks weird. hide it away.
--- 1253,1258 ----
# including Message dialogs. Check update when the first
# child of the tree widget gets destroyed, ignore all others.
! if not self.terminated \
! and str(event.widget).startswith(str(self.tree)):
# some of the window widgets have been destroyed yet
# and the window looks weird. hide it away.
|