Fix number of new message in the status bar.
Fix number of new message in the status bar.

diff -u kmail/kmacctexppop.cpp kmail.new/kmacctexppop.cpp
--- kmail/kmacctexppop.cpp      Sun Sep 24 19:58:37 2000
+++ kmail.new/kmacctexppop.cpp  Mon Sep 25 15:41:39 2000
@@ -592,7 +592,9 @@
     stage = Idle;
     KMBroadcastStatus::instance()->setStatusProgressPercent( 100 );
     if( idsOfMsgs.count() > 0 ) {
-      KMBroadcastStatus::instance()->setStatusMsg(i18n("Transmission completed
(%1 messages) (%2 KB)...").arg(indexOfCurrentMsg).arg(numBytesRead/1024));
+      int numMessages = (KMBroadcastStatus::instance()->abortRequested()) ?
+        indexOfCurrentMsg : idsOfMsgs.count();
+      KMBroadcastStatus::instance()->setStatusMsg(i18n("Transmission completed
(%1 messages) (%2 KB)...").arg(numMessages).arg(numBytesRead/1024));
     } else {
       KMBroadcastStatus::instance()->setStatusMsg(i18n("Transmission completed..." ));
     }

svn path=/trunk/kdenetwork/kmail/; revision=65346

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi