Bug 176081

Summary: Option to disable display of unread mail in the system tray
Product: [Applications] kmail Reporter: Malte S. Stretz <mss>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: wishlist Keywords: triaged
Priority: NOR    
Version: 1.10.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Malte S. Stretz 2008-11-25 18:33:50 UTC
Version:           1.10.3 (using 4.1.3 (KDE 4.1.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.27-7-generic

I tend to collect a lot of unread messages, both from mailinglists and in my spam folder.  So the count on the icon in the system tray is most the time a ridicolous high number and totally meaningless to me.

I just found out from bug 92646 that I can disable notifications for single folders, before that I had ~15000 unread spam. Now I've got still ~400 unread mails displayed, no idea from which (IMAP) folder (might be bug 75583).

Anyway, the icon is just plain ugly like this and I don't need the count of unread mails there, so is it possible to simply add an option on the quite empty config pane Appearance->System Tray to disable the count altogether?

Guess that shouldn't be too hard to add, maybe I'll have a try myself if nobody objects :)
Comment 1 Thomas McGuire 2008-11-27 17:22:09 UTC
> maybe I'll have a try myself if nobody objects :)

I don't object. The code which paints the number of unread mail is at KMSystemTray::updateCount() in kmsystemtray.cpp. The code of the systemtray-related config options is in the AppearancePageSystemTrayTab class of configuredialog.cpp.

*** This bug has been marked as a duplicate of bug 171992 ***