[Spambayes-checkins] spambayes/Outlook2000/dialogs test_dialogs.py,
1.5, 1.6
Mark Hammond
mhammond at users.sourceforge.net
Thu Aug 21 07:15:34 EDT 2003
Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1:/tmp/cvs-serv3791
Modified Files:
test_dialogs.py
Log Message:
Remove config stuff to config_wizard
Index: test_dialogs.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/test_dialogs.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** test_dialogs.py 19 Aug 2003 13:27:27 -0000 1.5
--- test_dialogs.py 21 Aug 2003 13:15:32 -0000 1.6
***************
*** 20,42 ****
if idd=='IDD_WIZARD':
# not sure where this should go yet.
! import config
! extra_defaults = {
! "Wizard" : (
! ("preparation", "How prepared? radio on welcome", 0,
! """""",
! config.INTEGER, config.RESTORE),
! (config.FolderIDOption,
! "watch_folder_ids", "Folders to watch for new messages", [],
! """The list of folders SpamBayes will watch for new messages,
! processing messages as defined by the filters.""",
! config.FOLDER_ID, config.DO_NOT_RESTORE),
! )
! }
! extra_defaults.update(config.defaults)
! # This is evil and wont look like this at all
! c = config.CreateConfig(extra_defaults)
! mgr.options = c
! mgr.config = config.OptionsContainer(c)
!
ShowDialog(0, mgr, idd)
--- 20,26 ----
if idd=='IDD_WIZARD':
# not sure where this should go yet.
! import config_wizard
! mgr.options, mgr.config = config_wizard.CreateWizardConfig(mgr)
! print "Watch ids2 are", mgr.config.wizard.watch_folder_ids
ShowDialog(0, mgr, idd)
More information about the Spambayes-checkins
mailing list