Re: [evolution-patches] handle header "X-Newsreader"



Hi
        Sorry! Changed. Here is the patch.
Cantona

On Tue, 2004-05-18 at 22:13 +0800, Not Zed wrote:
> 
> Hi,
> 
> couple of changes would be nice.
> 
> - no c++ or C99 comments (i.e. //), inface that comment is redundant
> anyway, so just remove it entirely
> - add a ChangeLog entry (whcih covers what the comment conveys,
> including credit).
> 
> Otherwise, looks reasonable to me.
> 
> Michael
> 
> On Tue, 2004-05-18 at 19:09 +0800, cantona wrote: 
> > Hi,
> > 
> >      I added a line for mail/em-format-html.c to read header
> > X-Newsreader as Mailer.
> >  Attached the patch file.
> > 
> > Regards
> > cantona.
> 
> Michael Zucchi
> <notzed ximian com>
> 
> Ximian Evolution and
> Free Software Developer
> 
> 
> Novell, Inc.
Index: mail//ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3325
diff -u -r1.3325 ChangeLog
--- mail//ChangeLog	18 May 2004 08:56:26 -0000	1.3325
+++ mail//ChangeLog	18 May 2004 15:18:02 -0000
@@ -1,3 +1,7 @@
+2004-05-18  Cantona Su <paradisetux hotmail com>
+	* em-format-html.c: Added header "X-Newsreader" for handle Outlook
+	Express as Mailer.
+	
 2004-05-18  Not Zed  <NotZed Ximian com>
 
 	* em-folder-browser.c (em_folder_browser_show_preview): don't
Index: mail//em-format-html.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-format-html.c,v
retrieving revision 1.56
diff -u -r1.56 em-format-html.c
--- mail//em-format-html.c	18 May 2004 07:48:19 -0000	1.56
+++ mail//em-format-html.c	18 May 2004 15:18:05 -0000
@@ -1651,7 +1651,8 @@
 			
 			while (header) {
 				if (mailer && (!g_ascii_strcasecmp (header->name, "X-Mailer") ||
-					       !g_ascii_strcasecmp (header->name, "User-Agent"))) {
+					       !g_ascii_strcasecmp (header->name, "User-Agent") ||
+					       !g_ascii_strcasecmp (header->name, "X-Newsreader"))) {
 					struct _camel_header_raw xmailer;
 					
 					xmailer.name = "X-Evolution-Mailer";


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