|
From: Kevin A. <ka...@us...> - 2004-05-10 00:46:04
|
Update of /cvsroot/pythoncard/PythonCard/samples/slideshow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16543/samples/slideshow Modified Files: slideshow.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: slideshow.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/slideshow/slideshow.py,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** slideshow.py 5 May 2004 16:53:46 -0000 1.37 --- slideshow.py 10 May 2004 00:45:22 -0000 1.38 *************** *** 78,82 **** log.info('slideshow 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): --- 78,82 ---- log.info('slideshow 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): |