From: Kevin A. <ka...@us...> - 2004-05-10 05:03:08
|
Update of /cvsroot/pythoncard/PythonCard In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21980 Modified Files: model.py spec.py Log Message: changed all occurances of stack in resources to application Index: model.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/model.py,v retrieving revision 1.170 retrieving revision 1.171 diff -C2 -d -r1.170 -r1.171 *** model.py 10 May 2004 01:17:38 -0000 1.170 --- model.py 10 May 2004 05:01:58 -0000 1.171 *************** *** 151,155 **** else: rsrc = resource.ResourceFile(filename).getResource() ! return frameClass(parent, rsrc.stack.backgrounds[0]) --- 151,155 ---- else: rsrc = resource.ResourceFile(filename).getResource() ! return frameClass(parent, rsrc.application.backgrounds[0]) *************** *** 371,375 **** def _initBackgrounds(self, aResource): ! for bgRsrc in aResource.stack.backgrounds: bg = self.frameClass(None, bgRsrc) self.backgrounds.append(bg) --- 371,375 ---- def _initBackgrounds(self, aResource): ! for bgRsrc in aResource.application.backgrounds: bg = self.frameClass(None, bgRsrc) self.backgrounds.append(bg) *************** *** 1215,1219 **** def _createStatusBar( self, aResource ) : ! if ('statusBar' in aResource.stack.__dict__) and aResource.stack.statusBar: self.statusBar = self.createStatusBar(self) self.SetStatusBar(self.statusBar) --- 1215,1219 ---- def _createStatusBar( self, aResource ) : ! if ('statusBar' in aResource.application.__dict__) and aResource.application.statusBar: self.statusBar = self.createStatusBar(self) self.SetStatusBar(self.statusBar) Index: spec.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/spec.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** spec.py 20 May 2002 16:27:39 -0000 1.23 --- spec.py 10 May 2004 05:01:58 -0000 1.24 *************** *** 34,38 **** }}, ! { 'name':'Stack', 'info': { 'parent' : None, 'events' : [], --- 34,38 ---- }}, ! { 'name':'Application', 'info': { 'parent' : None, 'events' : [], |