[prev in list] [next in list] [prev in thread] [next in thread]
List: kmail-devel
Subject: patch: folder with unread messages bold
From: Daniel Naber <dnaber () mini ! gt ! owl ! de>
Date: 2000-04-22 15:45:15
[Download RAW message or body]
Hi,
with this little patch folders containing unread messages are shown in a bold
font. Don, would you apply this if nobody objects?
(BTW, I will continue to send my patches to the list because I don't have an
CVS account and because I think it's important that even simple patches
are checked since we are approaching "beta" - kind of).
I hope nobody will suggest to make this optional... I like this because
Netscape does this and it's really easier to scan for unread messages than
with just those numbers behind the folder names.
Something different: Do I need kdebase to make help work in kmail? Currently
clicking on Help doesn't do anything.
Regards
Daniel
["unread-folders-bold.diff" (text/plain)]
--- kmfoldertree.cpp.org Fri Apr 21 17:55:52 2000
+++ kmfoldertree.cpp Fri Apr 21 22:48:14 2000
@@ -116,6 +116,11 @@
QString t = text( column );
if ( !t.isEmpty() ) {
+ if( folder && folder->countUnread() > 0 ) {
+ QFont f = p->font();
+ f.setWeight(QFont::Bold);
+ p->setFont(f);
+ }
QRect br;
p->drawText( r, 0, width-marg-r, height(),
align | AlignVCenter, t, -1, &br );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic