[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [PATCH] Bug 58182 - Display Username for mail being retrieved
From:       Dave Rowe <dave () roweware ! com>
Date:       2005-08-05 2:31:07
Message-ID: 200508042131.07958.dave () roweware ! com
[Download RAW message or body]

First patch and already missed something...

Forgot to update all argument numbers...

Attached is the corrected patch.  Please give me any comments or suggestions.

Thanks,
Dave

On Thursday 04 August 2005 09:16 pm, you wrote:
> Hello,
> The attached patch fixes an issue where the user does not know which
> account mail is being retrieved for.
>
> My first patch, be gentle... :)
>
> Thanks,
> Dave
> dave@roweware.com

["kmail_fetchstatusbar_username.patch" (text/x-diff)]

Index: popaccount.cpp
===================================================================
--- popaccount.cpp	(revision 443076)
+++ popaccount.cpp	(working copy)
@@ -874,16 +874,16 @@
       QString msg;
       if (numBytes != numBytesToRead && mLeaveOnServer)
       {
-        msg = i18n("Fetching message %1 of %2 (%3 of %4 KB) from %5 "
-                   "(%6 KB remain on the server).")
+        msg = i18n("Fetching message %1 of %2 (%3 of %4 KB) for %5@%6 "
+                   "(%7 KB remain on the server).")
           .arg(indexOfCurrentMsg+1).arg(numMsgs).arg(numBytesRead/1024)
-          .arg(numBytesToRead/1024).arg(mHost).arg(numBytes/1024);
+          .arg(numBytesToRead/1024).arg(mLogin).arg(mHost).arg(numBytes/1024);
       }
       else
       {
-        msg = i18n("Fetching message %1 of %2 (%3 of %4 KB) from %5.")
+        msg = i18n("Fetching message %1 of %2 (%3 of %4 KB) for %5@%6.")
           .arg(indexOfCurrentMsg+1).arg(numMsgs).arg(numBytesRead/1024)
-          .arg(numBytesToRead/1024).arg(mHost);
+          .arg(numBytesToRead/1024).arg(mLogin).arg(mHost);
       }
       mMailCheckProgressItem->setStatus( msg );
       mMailCheckProgressItem->setProgress(


_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic