summaryrefslogtreecommitdiff
authoralwin <alwin>2005-03-12 02:15:18 (UTC)
committer alwin <alwin>2005-03-12 02:15:18 (UTC)
commitf6fa2808753f84a66037d8ca4f62f7ce412a386b (patch) (side-by-side diff)
treefd6c9a3f20306a2e9d9a891d520fa2d214b1aaaa
parentcd1b9f7c11c73ef0df0ce66c53466c979a3a4d42 (diff)
downloadopie-f6fa2808753f84a66037d8ca4f62f7ce412a386b.zip
opie-f6fa2808753f84a66037d8ca4f62f7ce412a386b.tar.gz
opie-f6fa2808753f84a66037d8ca4f62f7ce412a386b.tar.bz2
as in most other applets mails on pop3-acounts counts always as
new mail
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/libmailwrapper/statusmail.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/mail/libmailwrapper/statusmail.cpp b/noncore/net/mail/libmailwrapper/statusmail.cpp
index 7e14df3..4d87e56 100644
--- a/noncore/net/mail/libmailwrapper/statusmail.cpp
+++ b/noncore/net/mail/libmailwrapper/statusmail.cpp
@@ -81,4 +81,6 @@ void StatusMail::check_current_stat(folderStat&targetStat)
}
odebug << "Pop3 last: " << lastPop3Stat.message_count << "" << oendl;
+
+#if 0
if (currentPop3Stat.message_count > lastPop3Stat.message_count) {
currentPop3Stat.message_recent = currentPop3Stat.message_count - lastPop3Stat.message_count;
@@ -88,4 +90,8 @@ void StatusMail::check_current_stat(folderStat&targetStat)
currentPop3Stat.message_recent = currentPop3Stat.message_unseen = 0;
}
+#else
+ currentPop3Stat.message_recent = currentPop3Stat.message_unseen=currentPop3Stat.message_count;
+#endif
+
targetStat = currentImapStat;
targetStat.message_unseen+=currentPop3Stat.message_unseen;