[Spambayes-checkins] spambayes/Outlook2000/dialogs dialog_map.py, 1.37, 1.38

Tony Meyer anadelonbrin at users.sourceforge.net
Fri Apr 23 00:16:27 EDT 2004


Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11788/Outlook2000/dialogs

Modified Files:
	dialog_map.py 
Log Message:
Fix [ 940155 ] Data Folder location

The "show data folder" button in the Manager dialog brought up the Windows
data directory, rather than the SpamBayes one (usually the same, but not always).

It's arguable which one is correct, but I think the most common use for this button
is to find the databases and configuration files, and so data_directory rather than
windows_data_directory is what we are after.  All that would be in the other one
(that is used) is the default_configuration.ini file (if it's not in the SpamBayes program
directory), and anyone using that can find it by hand, I hope.

If you disagree which folder, Mark, at least this is easy to back out ;)

Index: dialog_map.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/dialog_map.py,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** dialog_map.py	27 Feb 2004 02:52:50 -0000	1.37
--- dialog_map.py	23 Apr 2004 04:16:24 -0000	1.38
***************
*** 236,240 ****
      """
      import os
!     os.startfile(window.manager.windows_data_directory)
  def ShowLog(window):
      """Opens the log file for the current SpamBayes session
--- 236,240 ----
      """
      import os
!     os.startfile(window.manager.data_directory)
  def ShowLog(window):
      """Opens the log file for the current SpamBayes session




More information about the Spambayes-checkins mailing list