Kmail excludes support



This (very little) patch add excludes support for Kmail.

--------------------- BEGIN
--- KMailIndexer.cs 2007-01-24 18:52:36.000000000 +0100
+++ KMailIndexer.cs 2007-02-07 20:39:34.000000000 +0100
@@ -80,6 +80,11 @@
            excludes.Add ("outbox");
            excludes.Add ("trash");
            excludes.Add ("drafts");
+
+           foreach (ExcludeItem exclude in Conf.Indexing.Excludes)
+               if (exclude.Type == ExcludeType.MailFolder)
+                   excludes.Add (exclude.Value.ToLower());
+
        }

        /**
--------------------- END

-- 
* Matteo Gottardi | matgott tin it
* ICQ UIN 20381372
* Linux - the choice of a GNU generation
* GPG Fingerprint:
* B9EE 108F 52C8 D50C B667 B1F2 AB56 8A01 BA3D 36A1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]