summaryrefslogtreecommitdiffstats
path: root/redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
committerFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch')
-rw-r--r--redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch b/redhat/tdepim/kdepim-3.5.13-fix_systray_count.patch
new file mode 100644
index 000000000..6e5d983fe
--- /dev/null
+++ b/redhat/tdepim/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;
+ }
+