Version: (using KDE KDE 3.5.6)
Installed from: Ubuntu Packages
I'd like a simple dcop call to kmail/kontact that would display the total count of all unread messages for all folders. Currently, the unread count for individual folders is available via 'dcop $(dcop kmail KMailIface getFolder "/Local/inbox" ) unreadMessages'. It would be very convenient if 'dcop $(dcop kmail KMailIface getFolder "/Local" ) unreadMessages' also worked. Or perhaps a new function all together in KMailIface.
This should not be soooo complicated as the number of unread messages is used internally and displayed on kmail's icon in the tray.