[evolution-patches] pop message number reporting




i think there's a bug on this, this changes it to use the index of the message, not the server index.

however i tihnk the problem wont be any different, because the download report 'message x of y' is the message _that are being downloaded_.  However the server may have other messages which are on the server which it isn't downloading.  Thus the number can never directly relate to that list.

so this patch may be worthless.

--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer
Index: camel/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.2248
diff -u -3 -r1.2248 ChangeLog
--- camel/ChangeLog	24 Aug 2004 02:50:08 -0000	1.2248
+++ camel/ChangeLog	25 Aug 2004 05:07:45 -0000
@@ -1,3 +1,9 @@
+2004-08-25  Not Zed  <NotZed Ximian com>
+
+	* providers/pop3/camel-pop3-folder.c (pop3_get_message): use the
+	index rather than the server message id for the number of the
+	message being downloaded.
+
 2004-08-23  Not Zed  <NotZed Ximian com>
 
 	** See bug #63189.
Index: camel/providers/pop3/camel-pop3-folder.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/providers/pop3/camel-pop3-folder.c,v
retrieving revision 1.67
diff -u -3 -r1.67 camel-pop3-folder.c
--- camel/providers/pop3/camel-pop3-folder.c	21 May 2004 03:30:00 -0000	1.67
+++ camel/providers/pop3/camel-pop3-folder.c	25 Aug 2004 05:07:45 -0000
@@ -408,7 +408,7 @@
 	/* Sigh, most of the crap in this function is so that the cancel button
 	   returns the proper exception code.  Sigh. */
 
-	camel_operation_start_transient(NULL, _("Retrieving POP message %d"), fi->id);
+	camel_operation_start_transient(NULL, _("Retrieving POP message %d"), fi->index);
 
 	/* If we have an oustanding retrieve message running, wait for that to complete
 	   & then retrieve from cache, otherwise, start a new one, and similar */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]