[Spambayes-checkins] spambayes/Outlook2000/dialogs dlgcore.py, 1.1.2.7, 1.1.2.8

Adam Walker xenogeist at users.sourceforge.net
Fri Aug 8 22:38:29 EDT 2003


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

Modified Files:
      Tag: outlook-dialog-branch
	dlgcore.py 
Log Message:
added a utility to generate a py file from an rc file. Not sure how to put this in the binary build process. Changed the dialogs member of rcparser to the dialog tuples. The tuples are created when reading the rc file now instead of requiring a seperate function call.

Index: dlgcore.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/Attic/dlgcore.py,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** dlgcore.py	5 Aug 2003 12:06:00 -0000	1.1.2.7
--- dlgcore.py	9 Aug 2003 04:38:27 -0000	1.1.2.8
***************
*** 77,82 ****
          self.parent = parent
          self.dialog_parser = parser
!         self.dialog_def = parser.dialogs[idd]
!         self.template = self.dialog_def.createDialogTemplate()
  
      def _GetIDName(self, cid):
--- 77,81 ----
          self.parent = parent
          self.dialog_parser = parser
!         self.template = parser.dialogs[idd]
  
      def _GetIDName(self, cid):





More information about the Spambayes-checkins mailing list