[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kmail
From: Till Adam <adam () kde ! org>
Date: 2004-07-31 20:55:49
Message-ID: 20040731205549.A3FEE99F5 () office ! kde ! org
[Download RAW message or body]
CVS commit by tilladam:
Hide todo status from searches until it is implemented, explain the special
treatment of "has attachment" in a comment as per Ingo's request.
M +8 -4 kmsearchpattern.h 1.27
--- kdepim/kmail/kmsearchpattern.h #1.26:1.27
@@ -229,10 +229,14 @@ namespace KMail {
I18N_NOOP( "spam" ),
I18N_NOOP( "ham" ),
- I18N_NOOP( "todo" ),
- I18N_NOOP( "has an attachment")
+ I18N_NOOP( "has an attachment"),
+ I18N_NOOP( "todo" )
};
static const int StatusValueCount =
- sizeof( StatusValues ) / sizeof( *StatusValues );
- static const int StatusValueCountWithoutHidden = StatusValueCount - 1;
+ sizeof( StatusValues ) / sizeof( *StatusValues ) -1 ;
+ // we want to show all status entries in the quick search bar, but only the
+ // ones up to attachment in the search/filter dialog, because there the
+ // attachment case is handled separately.
+ // Todo is hidden for both because it can currently not be set anywhere
+ static const int StatusValueCountWithoutHidden = StatusValueCount - 2;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic