Update of /cvsroot/pythoncard/PythonCard/samples/addresses
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16543/samples/addresses
Modified Files:
addresses.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: addresses.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/addresses/addresses.py,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** addresses.py 24 Apr 2004 21:09:06 -0000 1.33
--- addresses.py 10 May 2004 00:45:18 -0000 1.34
***************
*** 219,223 ****
if not os.path.exists(self.configPath):
os.mkdir(self.configPath)
! basePath = self.stack.app.applicationDirectory
self.dataPath = os.path.join(self.configPath, DATA_FILE)
if not os.path.exists(self.dataPath):
--- 219,223 ----
if not os.path.exists(self.configPath):
os.mkdir(self.configPath)
! basePath = self.application.applicationDirectory
self.dataPath = os.path.join(self.configPath, DATA_FILE)
if not os.path.exists(self.dataPath):
|