[Spambayes-checkins] spambayes/Outlook2000/dialogs FolderSelector.py, 1.30, 1.30.2.1 dialog_map.py, 1.34, 1.34.2.1

Mark Hammond mhammond at users.sourceforge.net
Mon Nov 3 04:29:45 EST 2003


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

Modified Files:
      Tag: release_1_0
	FolderSelector.py dialog_map.py 
Log Message:
Moving Outlook to the release_1_0 tag in preparation for a release.
Created tag outlook-1-0-fork before the merge.


Index: FolderSelector.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/FolderSelector.py,v
retrieving revision 1.30
retrieving revision 1.30.2.1
diff -C2 -d -r1.30 -r1.30.2.1
*** FolderSelector.py	9 Sep 2003 02:14:28 -0000	1.30
--- FolderSelector.py	3 Nov 2003 09:29:43 -0000	1.30.2.1
***************
*** 153,156 ****
--- 153,159 ----
      return root
  
+ # XXX - Note - the following structure code has been copied into the new
+ # XXX - win32gui_struct module.  One day we can rip this in preference
+ # XXX - for this new standard win32all module
  # Helpers for the ugly win32 structure packing/unpacking
  def _GetMaskAndVal(val, default, mask, flag):
***************
*** 253,256 ****
--- 256,260 ----
      item = UnpackTVItem(buf_item)
      return hwndFrom, id, code, item
+ # XXX - end of code copied to win32gui_struct.py
  
  #########################################################################

Index: dialog_map.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/dialog_map.py,v
retrieving revision 1.34
retrieving revision 1.34.2.1
diff -C2 -d -r1.34 -r1.34.2.1
*** dialog_map.py	16 Sep 2003 23:51:12 -0000	1.34
--- dialog_map.py	3 Nov 2003 09:29:43 -0000	1.34.2.1
***************
*** 16,19 ****
--- 16,27 ----
  
  # "dialog specific" processors:
+ class StatsProcessor(ControlProcessor):
+     def Init(self):
+         text = "\n".join(self.window.manager.stats.GetStats())
+         win32gui.SendMessage(self.GetControl(), win32con.WM_SETTEXT, 0, text)
+ 
+     def GetPopupHelpText(self, cid):
+         return "Displays statistics on mail processed by SpamBayes"
+ 
  class VersionStringProcessor(ControlProcessor):
      def Init(self):
***************
*** 475,478 ****
--- 483,487 ----
          (EditNumberProcessor,   "IDC_DELAY2_TEXT IDC_DELAY2_SLIDER", "Filter.timer_interval", 0, 10, 20),
          (BoolButtonProcessor,   "IDC_INBOX_TIMER_ONLY", "Filter.timer_only_receive_folders"),
+         (StatsProcessor,        "IDC_STATISTICS"),
          (CommandButtonProcessor,  "IDC_SHOW_DATA_FOLDER", ShowDataFolder, ()),
          (DialogCommand,         "IDC_BUT_SHOW_DIAGNOSTICS", "IDD_DIAGNOSTIC"),





More information about the Spambayes-checkins mailing list