[Spambayes-checkins] spambayes/Outlook2000/dialogs
wizard_processors.py, 1.5, 1.6
Mark Hammond
mhammond at users.sourceforge.net
Sun Aug 24 00:37:22 EDT 2003
Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1:/tmp/cvs-serv16388
Modified Files:
wizard_processors.py
Log Message:
If the user changes the folder name, forget the folder ID they may have
previously picked.
Index: wizard_processors.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/wizard_processors.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wizard_processors.py 24 Aug 2003 03:05:16 -0000 1.5
--- wizard_processors.py 24 Aug 2003 06:37:20 -0000 1.6
***************
*** 242,250 ****
--- 242,254 ----
def OnCommand(self, wparam, lparam):
+ code = win32api.HIWORD(wparam)
+ id = win32api.LOWORD(wparam)
if id == self.control_id:
if code==win32con.EN_CHANGE:
print "got change", self.in_setting_name
if not self.in_setting_name:
+ print "resetting!"
self.SetOptionValue(None) # reset the folder IDs.
+ self.SetOptionValue("", self.option_folder_name)
return opt_processors.FolderIDProcessor.OnCommand(self, wparam, lparam)
More information about the Spambayes-checkins
mailing list