diff options
author | Francois Andriot <[email protected]> | 2012-06-04 23:05:28 +0200 |
---|---|---|
committer | Francois Andriot <[email protected]> | 2012-06-04 23:05:28 +0200 |
commit | a8d78224c6ea9b943357902276de7a513d0fbd8d (patch) | |
tree | b1fc22b372792bf2cd2b3bd9add09fb3df8e71ff /redhat/kdepim/kdepim-3.5.13-fix_systray_count.patch | |
parent | 7f3d4fcab8d85cda8766150784e9133f61110019 (diff) | |
download | tde-packaging-a8d78224c6ea9b943357902276de7a513d0fbd8d.tar.gz tde-packaging-a8d78224c6ea9b943357902276de7a513d0fbd8d.zip |
RHEL/Fedora: various updates
Diffstat (limited to 'redhat/kdepim/kdepim-3.5.13-fix_systray_count.patch')
-rw-r--r-- | redhat/kdepim/kdepim-3.5.13-fix_systray_count.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/kdepim/kdepim-3.5.13-fix_systray_count.patch b/redhat/kdepim/kdepim-3.5.13-fix_systray_count.patch new file mode 100644 index 000000000..6e5d983fe --- /dev/null +++ b/redhat/kdepim/kdepim-3.5.13-fix_systray_count.patch @@ -0,0 +1,20 @@ +commit 40c435e566bcfddd3fd69b55efec786b1162a8be +Author: Slávek Banko <[email protected]> +Date: 1337997785 +0200 + + Fix KMail counting of unread messages in the system tray icon + Thanks to Francois Andriot + +diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp +index 001453a..d36bd3e 100644 +--- a/kmail/kmsystemtray.cpp ++++ b/kmail/kmsystemtray.cpp +@@ -493,7 +493,7 @@ void KMSystemTray::updateNewMessages() + * our last known version, and adjust mCount with that difference */ + else + { +- int diff = unread - it.data(); ++ int diff = unread - unread_it.data(); + mCount += diff; + } + |