From: Kevin A. <ka...@us...> - 2004-05-10 00:46:05
|
Update of /cvsroot/pythoncard/PythonCard/samples/pictureViewer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16543/samples/pictureViewer Modified Files: pictureViewer.py Log Message: removed Stack class, changed self.stack.app references to self.application changed childWindow, Background, and CustomDialog inits so stack arg isn't passed in. only did minimal testing of tools and samples Index: pictureViewer.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/pictureViewer/pictureViewer.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** pictureViewer.py 5 May 2004 16:53:28 -0000 1.21 --- pictureViewer.py 10 May 2004 00:45:20 -0000 1.22 *************** *** 41,45 **** log.info('pictureViewer filename: ' + filename) if not os.path.exists(filename): ! filename = os.path.abspath(os.path.join(self.stack.app.startingDirectory, sys.argv[1])) #print filename if os.path.isfile(filename): --- 41,45 ---- log.info('pictureViewer filename: ' + filename) if not os.path.exists(filename): ! filename = os.path.abspath(os.path.join(self.application.startingDirectory, sys.argv[1])) #print filename if os.path.isfile(filename): |