Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8111/resourceEditor/modules
Modified Files:
resourceOutput.py
Log Message:
commented out saving background position in resource files
Index: resourceOutput.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** resourceOutput.py 30 Sep 2004 23:04:53 -0000 1.30
--- resourceOutput.py 4 Oct 2004 19:16:46 -0000 1.31
***************
*** 162,166 ****
desc += " 'name':'%s',\n" % bg.name
desc += """ 'title':%s,\n""" % repr(bg.title)
! desc += " 'position':%s,\n" % str(background.GetPositionTuple())
desc += " 'size':%s,\n" % str(background.GetSizeTuple())
--- 162,170 ----
desc += " 'name':'%s',\n" % bg.name
desc += """ 'title':%s,\n""" % repr(bg.title)
! # KEA 2004-10-04
! # need a more sophisticated way of specifying an optional position
! # but just saving the position the user is editing the window at
! # is bad, so turn it off for now
! ## desc += " 'position':%s,\n" % str(background.GetPositionTuple())
desc += " 'size':%s,\n" % str(background.GetSizeTuple())
|