From: Kevin A. <ka...@us...> - 2004-07-18 16:43:37
|
Update of /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18518/tools/resourceEditor/modules Modified Files: resourceOutput.py Log Message: changed asTuple to Get removed 'font' attribute from Calendar component in widgets sample removed non-printable character in distance.py Index: resourceOutput.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/resourceEditor/modules/resourceOutput.py,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** resourceOutput.py 10 May 2004 05:02:50 -0000 1.25 --- resourceOutput.py 18 Jul 2004 16:43:28 -0000 1.26 *************** *** 27,34 **** imgWidgets = ['Image', 'ImageButton'] comp = background.propertyEditorWindow.components ! dFgC = comp.wUpdate.foregroundColor.asTuple() ! dBgC = comp.wUpdate.backgroundColor.asTuple() dFont = repr(comp.wUpdate.font) ! dTextBgC = comp.wField.backgroundColor.asTuple() # make sure these primary attributes show up --- 27,34 ---- imgWidgets = ['Image', 'ImageButton'] comp = background.propertyEditorWindow.components ! dFgC = comp.wUpdate.foregroundColor.Get() ! dBgC = comp.wUpdate.backgroundColor.Get() dFont = repr(comp.wUpdate.font) ! dTextBgC = comp.wField.backgroundColor.Get() # make sure these primary attributes show up *************** *** 79,87 **** if key == 'backgroundColor' and \ aWidget.__class__.__name__ in txtWidgets and \ ! value.asTuple() == dTextBgC: continue ! if key == 'foregroundColor' and value.asTuple() == dFgC: continue ! if key == 'backgroundColor' and value.asTuple() == dBgC: continue if key == 'font' and repr(value) == dFont: --- 79,87 ---- if key == 'backgroundColor' and \ aWidget.__class__.__name__ in txtWidgets and \ ! value.Get() == dTextBgC: continue ! if key == 'foregroundColor' and value.Get() == dFgC: continue ! if key == 'backgroundColor' and value.Get() == dBgC: continue if key == 'font' and repr(value) == dFont: |