[Spambayes-checkins] spambayes/Outlook2000/dialogs wizard_processors.py, 1.8, 1.9

Mark Hammond mhammond at users.sourceforge.net
Mon Aug 25 22:52:08 EDT 2003


Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs1:/tmp/cvs-serv5063

Modified Files:
	wizard_processors.py 
Log Message:
Fix a bug in the wizard that disabled the "Next" button if you changed
a folder name in the edit control.


Index: wizard_processors.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/wizard_processors.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** wizard_processors.py	24 Aug 2003 13:21:13 -0000	1.8
--- wizard_processors.py	26 Aug 2003 04:52:06 -0000	1.9
***************
*** 252,257 ****
              if code==win32con.EN_CHANGE:
                  if not self.in_setting_name:
!                     self.SetOptionValue(None) # reset the folder IDs.
!                     self.SetOptionValue("", self.option_folder_name)
          return opt_processors.FolderIDProcessor.OnCommand(self, wparam, lparam)
  
--- 252,261 ----
              if code==win32con.EN_CHANGE:
                  if not self.in_setting_name:
!                     # reset the folder IDs.
!                     self.SetOptionValue(None)
!                     # Set the folder name
!                     hedit = win32gui.GetDlgItem(self.window.hwnd, id)
!                     text = win32gui.GetWindowText(hedit)
!                     self.SetOptionValue(text, self.option_folder_name)
          return opt_processors.FolderIDProcessor.OnCommand(self, wparam, lparam)
  





More information about the Spambayes-checkins mailing list