[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: Re: [PATCH] fixes for filters
From: Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date: 2001-05-08 13:55:43
[Download RAW message or body]
Ingo Klöcker wrote:
>
<snip>
> The problem is that the entry where to search (in this case <any
> header>) is saved in translated form. In our case (german) it is saved
> as "<Feld im Vorspann>" but it should be saved not translated. I guess
> KMSearchRuleWidget::ruleFieldToEnglish(...) should take care of this.
> But it is never called.
<snip>
Thanks! Fixed:
--- kmsearchpatternedit.cpp.orig Wed May 9 14:58:00 2001
+++ kmsearchpatternedit.cpp Wed May 9 14:58:29 2001
@@ -98,11 +98,7 @@
{
KMSearchRule *r = new KMSearchRule;
- kdDebug() << "r->init( " << mRuleField->currentText() << ", "
- << mRuleFunc->currentItem() << ", "
- << mRuleValue->text() << " );" << endl;
-
- r->init( mRuleField->currentText(),
+ r->init( ruleFieldToEnglish( mRuleField->currentText() ),
(KMSearchRule::Function)mRuleFunc->currentItem(),
mRuleValue->text() );
Marc
--
Marc Mutz <Marc@Mutz.com> http://EncryptionHOWTO.sourceforge.net/
University of Bielefeld, Dep. of Mathematics / Dep. of Physics
PGP-keyID's: 0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic