Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv25047/src/classes

Modified Files:
        MApplication.cpp MFilter.cpp 
Log Message:
added a dialog to configure the spam detection options and a test for ks_c_5601 charset


Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.255
retrieving revision 1.256
diff -b -u -2 -r1.255 -r1.256
--- MApplication.cpp    25 May 2002 21:04:42 -0000      1.255
+++ MApplication.cpp    20 Jun 2002 18:12:05 -0000      1.256
@@ -904,5 +904,5 @@
          {
             wxDirDialog dlg(NULL, _("Specify global directory for Mahogany"));
-            if ( dlg.ShowModal() )
+            if ( dlg.ShowModal() == wxID_OK )
             {
                m_globalDir = dlg.GetPath();

Index: MFilter.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MFilter.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -u -2 -r1.20 -r1.21
--- MFilter.cpp 18 Jun 2002 14:48:12 -0000      1.20
+++ MFilter.cpp 20 Jun 2002 18:12:06 -0000      1.21
@@ -142,5 +142,5 @@
    "(now()-date()) > ", // ORC_T_OlderThan
    "(now()-date()) < ", // ORC_T_NewerThan
-   "isspam()",          // ORC_T_IsSpam
+   "isspam(",           // ORC_T_IsSpam
    "python(",           // ORC_T_Python
    "matchregexi(",      // ORC_T_MatchRegEx
@@ -148,5 +148,4 @@
    "score() < ",        // ORC_T_ScoreBelow
    "istome()",        // ORC_T_IsToMe
-   "subj8bit()",        // ORC_T_8BitSubject
    NULL
 };
@@ -168,5 +167,5 @@
    ORC_F_NeedsArg,                     // ORC_T_OlderThan,
    ORC_F_NeedsArg,                     // ORC_T_NewerThan,
-   0,                                  // ORC_T_IsSpam,
+   ORC_F_NeedsArg,                     // ORC_T_IsSpam,
    ORC_F_NeedsArg,                     // ORC_T_Python,
    ORC_F_NeedsTarget|ORC_F_NeedsArg,   // ORC_T_MatchRegEx,
@@ -174,5 +173,4 @@
    ORC_F_NeedsArg,                     // ORC_T_ScoreBelow
    0,                                  // ORC_T_IsToMe
-   0,                                  // ORC_T_8BitSubject
 };
 



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to