+2011-01-14 [pawel] 3.7.8cvs34
+
+ * src/textview.c
+ Fix Bug #2165 'The date not localized in the message view'
+ Display Date header in messageview in the same way as in
+ summaryview by respecting date format set in preferences.
+
2011-01-06 [pawel] 3.7.8cvs33
* src/prefs_account.c
( cvs diff -u -r 1.6.10.23 -r 1.6.10.24 src/addrharvest.c; cvs diff -u -r 1.65.2.70 -r 1.65.2.71 src/codeconv.c; cvs diff -u -r 1.15.2.24 -r 1.15.2.25 src/codeconv.h; cvs diff -u -r 1.382.2.565 -r 1.382.2.566 src/compose.c; cvs diff -u -r 1.101.2.62 -r 1.101.2.63 src/news.c; cvs diff -u -r 1.47.2.52 -r 1.47.2.53 src/procheader.c; cvs diff -u -r 1.49.2.135 -r 1.49.2.136 src/procmime.c; cvs diff -u -r 1.8.2.16 -r 1.8.2.17 src/unmime.c; cvs diff -u -r 1.2.10.7 -r 1.2.10.8 src/unmime.h; ) > 3.7.8cvs31.patchset
( cvs diff -u -r 1.14.2.74 -r 1.14.2.75 src/plugins/trayicon/trayicon.c; ) > 3.7.8cvs32.patchset
( cvs diff -u -r 1.105.2.161 -r 1.105.2.162 src/prefs_account.c; cvs diff -u -r 1.52.2.79 -r 1.52.2.80 src/prefs_folder_item.c; cvs diff -u -r 1.1.2.32 -r 1.1.2.33 src/prefs_quote.c; cvs diff -u -r 1.8.2.42 -r 1.8.2.43 src/quote_fmt.c; ) > 3.7.8cvs33.patchset
+( cvs diff -u -r 1.96.2.227 -r 1.96.2.228 src/textview.c; ) > 3.7.8cvs34.patchset
procheader_headername_equal(header->name, "To") ||
procheader_headername_equal(header->name, "Cc"))
unfold_line(header->body);
-
- if ((procheader_headername_equal(header->name, "X-Mailer") ||
- procheader_headername_equal(header->name,
+
+ if (procheader_headername_equal(header->name, "Date")) {
+ gchar hbody[81];
+
+ procheader_date_parse(hbody, header->body, sizeof(hbody)-1);
+ gtk_text_buffer_get_end_iter (buffer, &iter);
+ gtk_text_buffer_insert_with_tags_by_name
+ (buffer, &iter, hbody, -1, "header", NULL);
+ } else if ((procheader_headername_equal(header->name, "X-Mailer") ||
+ procheader_headername_equal(header->name,
"X-Newsreader")) &&
- (strstr(header->body, "Claws Mail") != NULL ||
- strstr(header->body, "Sylpheed-Claws") != NULL)) {
+ (strstr(header->body, "Claws Mail") != NULL ||
+ strstr(header->body, "Sylpheed-Claws") != NULL)) {
gtk_text_buffer_get_end_iter (buffer, &iter);
gtk_text_buffer_insert_with_tags_by_name
(buffer, &iter, header->body, -1,