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 | [EMAIL PROTECTED]
* ICQ UIN 20381372
* Linux - the choice of a GNU generation
* GPG Fingerprint:
* B9EE 108F 52C8 D50C B667 B1F2 AB56 8A01 BA3D 36A1
_______________________________________________
Dashboard-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dashboard-hackers

Reply via email to