[Spambayes-checkins] spambayes/Outlook2000/dialogs FolderSelector.py, 1.39, 1.40

Mark Hammond mhammond at users.sourceforge.net
Tue Jun 21 05:18:41 CEST 2005


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

Modified Files:
	FolderSelector.py 
Log Message:
A recent bugfix in pywin32 broke the Outlook folder dialogs - update so we
work with new and old pywin32 versions.


Index: FolderSelector.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/FolderSelector.py,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** FolderSelector.py	1 Jun 2004 02:14:38 -0000	1.39
--- FolderSelector.py	21 Jun 2005 03:18:39 -0000	1.40
***************
*** 687,691 ****
          buf = win32gui.PyMakeBuffer(struct.calcsize(format), lparam)
          hwndFrom, id, code = struct.unpack(format, buf)
!         code += 0x4f0000 # hrm - wtf - commctrl uses this, and it works with mfc.  *sigh*
          id_name = self._GetIDName(id)
          if id_name == "IDC_LIST_FOLDERS":
--- 687,691 ----
          buf = win32gui.PyMakeBuffer(struct.calcsize(format), lparam)
          hwndFrom, id, code = struct.unpack(format, buf)
!         code += commctrl.PY_0U # work around silly old pywin32 bug
          id_name = self._GetIDName(id)
          if id_name == "IDC_LIST_FOLDERS":



More information about the Spambayes-checkins mailing list