From: Kevin A. <ka...@us...> - 2004-05-12 23:23:58
|
Update of /cvsroot/pythoncard/PythonCard/tools/findfiles In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9688/tools/findfiles Modified Files: findfiles.py Log Message: only saving last 100 searches Index: findfiles.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/tools/findfiles/findfiles.py,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** findfiles.py 10 May 2004 19:00:47 -0000 1.77 --- findfiles.py 12 May 2004 23:23:49 -0000 1.78 *************** *** 151,155 **** for i in range(self.fileHistory.GetCount()): history.append(self.fileHistory.GetHistoryFile(i)) ! self.config['searches'] = self.components.fldSearchPattern.items self.config['history'] = history try: --- 151,157 ---- for i in range(self.fileHistory.GetCount()): history.append(self.fileHistory.GetHistoryFile(i)) ! # the limitation on the number of items to save is obviously ! # arbitrary, so I guess this could be made a setting as well ! self.config['searches'] = self.components.fldSearchPattern.items[:100] self.config['history'] = history try: |